Re: browser info

From: Date: Sat, 21 Dec 2013 23:58:34 +0000
Subject: Re: browser info
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-322595@lists.php.net to get a copy of this message
On Sat, Dec 21, 2013 at 6:50 PM, marco@behnke.biz <marco@behnke.biz> wrote: > You can detect that with javascript and send it with the request to the > backend. > Or you can use media queries in css. > > > georg chambert <georg.chambert@telia.com> hat am 22. Dezember 2013 um > 00:44 > > geschrieben: > > > > > > Does änyone know if there exist any info on the screen properties of the > > device on which the browser is running ? > > (does HTTP supply ?) It has a major influence on how pictures will come > onto > > the browser display. > > > > Regards > > Georg > -- > Marco Behnke > Dipl. Informatiker (FH), SAE Audio Engineer Diploma > Zend Certified Engineer PHP 5.3 > > Tel.: 0174 / 9722336 > e-Mail: marco@behnke.biz > > Softwaretechnik Behnke > Heinrich-Heine-Str. 7D > 21218 Seevetal > > http://www.behnke.biz > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Here is a list of all SERVER variables: http://php.net/manual/en/reserved.variables.server.php Unfortunately, it doesn't have anything you can use besides the USER_AGENT (browser, system, versions, js enabled, etc..): http://www.php.net/get_browser As Marco said, you will need to implement client side Javascript to get the screen info including width/height/resolution/etc.. Aziz

« previous php.general (#322595) next »