I am using the following code to get the screen resolution.
This works fine with the WAMP server but when I put it on a remote Linux server, You can explain what you are trying to do with this webpage The overall explanation of passing in height for PHP is because this page is not working at all, it is the execution flow that is with this web page. $ height returns
0 .
HTML / PHP
& lt; Head & gt; .... & lt; Script language = "javascript" & gt;
var y = window.screen.availHeight; Var x = window.screen.availWidth; Window.location.href = "index.php? Height =" + y + "and width =" + x; break;
& lt; / Head & gt;
& lt ;? Get Php $ height = $ _ ['height']; $ Height = intval ($ height); Echo ($ height); ? & Gt;
No comments:
Post a Comment