Why doesn't this work? Any ideas?!
$resolution = "<SCRIPT
LANGUAGE=\"JavaScript\">document.write(screen.width)</SCRIPT>";
if ($resolution >= '1024') {
$resolution = "1024";
} else {
$resolution = "800";
}
echo $resolution;
It always output 1024
Best regards
Fredrik A. Takle
Bergen, Norway
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] Re: Output (Urgent!) Fredrik A. Takle
- [PHP] Re: Output (Urgent!) Fredrik A. Takle
- [PHP] Re: Output (Urgent!) elias
- [PHP] Re: Output (Urgent!) Fredrik A. Takle
- Re: [PHP] Output (Urgent!) Jason Rennie
- RE: [PHP] Output (Urgent!) Morten Winkler J�rgensen
- Re: [PHP] Output (Urgent!) Joseph
- RE: [PHP] Output (Urgent!) Adrian Ciutureanu
- Re: [PHP] Output (Urgent!) Morten Winkler J�rgensen
- Re: [PHP] Output (Urgent!) Brad Hubbard
- Re: [PHP] Output (Urgent!) Sheridan Saint-Michel

