Hi folks, I’m back and glad to present you script written on PHP for survey. I posted it on github. I appreciate if you will add issues, comments on Github and also fill free to make pull requests. I’m going to make doc page for the script as well. UPDATE 03 …

Sometimes you need operate Unix timestamp, so there is how you can get it: Date.prototype.getTimestamp = function() { return parseInt((this.getTime()-Date.UTC(1970,0,1))/1000); } Note: If you’d like to use timestamp with milliseconds, just don’t divide by 1000 in above method. After that for example you are able to use this method to …

It seems that these functions for escaping url in js are already deprecated! You should use functions with more longer names – encodeURIConmpnent(), decodeURIComponent(). Use them to encode/decode params for url. http://www.w3schools.com/jsref/jsref_encodeURIComponent.asp http://www.w3schools.com/jsref/jsref_decodeuricomponent.asp