Last updated on May 19, 2009
For those of you who wish to try the cookie method, here it is:
var tzo=(new Date().getTimezoneOffset()/60)*(-1);
setCookie("mytzo", tzo, 30);
function getTZO( )
document.getElementById('mytzo').value = (new Date().getTimezoneOffset()/60)*(-1);
1 comment for this article.
Preventing MySQL Injection attacks with PHP