Use javascript and pass to php:

<script language="JavaScript">
var SCRwidth = window.screen.width;
var SCRheight = window.screen.height;
</script>

Regards,

Oli

"Thijs Lensselink" <TLensselinkfactotummedia.nl> wrote in message
news:A306A04842B1D311BA280050DA699620C75C90nt-vivenda.fm.local...
> This is done by JavaScript or some other client side programming language.
> Remember that php is server side.
>
> -----Oorspronkelijk bericht-----
> Van: Bjarke Andersen [mailto:bbabizzy.dk]
> Verzonden: vrijdag 22 augustus 2003 14:48
> Aan: [email]php-generallists.php.net[/email]
> Onderwerp: [PHP] Getting browser resolution??
>
>
> Hi
>
> I've just started with PHP and i trying to find a function for getting the
> screen resolution, if that i posible??
> I need it to resize pictures, so that nomatter what resolution a user
haves,
> a picture allways uses for example 25% of the width of the screen...
>
> I hope someone can help me!
>
> Thanks
> Bjarke
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php