Re: Get Resolution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think it happen on some machine which don't activate cookies.
Maybe yo can try session to save resolution

LuckyGuy354
IT Beginner

http://www.wiwid.org

----- Original Message ----- 
From: "Roland Parijs" <uhibullura@xxxxxxxxx>
To: <php-objects@xxxxxxxxxxxxxxx>
Sent: Wednesday, August 08, 2007 2:49 PM
Subject:  Get Resolution


> Dear All,
>
> I have a page in php which I wanted to have centered in all resolutions. I 
> have used a script which I fouund on the Internet called 
> get_resolution.php. It uses javascript to determine the client resolution 
> and puts it in a cookie, then php will red the cookie and puts it in a 
> variable which I can use to calculate the left and right margin. It works 
> perfect, but somtimes and on some machines I get the blanco page of 
> get_resolution,
>
> Any one any idear why this happens?
>
> Roland Parijs


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux