RE: [PHP] display settings

From: Sam Masiello (smasiello_at_mxlogic.com)
Date: 12/09/03


Date: Tue, 9 Dec 2003 11:39:24 -0700
To: "Hartley, Matt" <matt.hartley@grhosp.on.ca>, <php-general@lists.php.net>


Since PHP is a server side language, you cannot get information like the
users display settings. If you want this information, you will need to
use a client side language like Javascript or VBScript.

--Sam

Hartley, Matt wrote:
> I am sort of new at this, I am wondering if it is possible to find
> the display settings of the user I know that
>
> <?php echo $_SERVER["HTTP_USER_AGENT"]; ?>
>
> will give you
>
> Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
>
> is there one that will recover the display settings of the user?
>
> Matt



Relevant Pages

  • Re: VB6 program produces slightly different results
    ... I see it frequently - such as where different machines are involved and ... factors like language, locality, and display settings can affect results. ...
    (microsoft.public.vb.general.discussion)
  • Re: Web services via httpd
    ... the server side. ... Java - although many people think so. ... no matter what language they're written in. ... PHP is just a variant of that system, ...
    (comp.os.linux.development.apps)
  • Re: PHP and Threading - is it possible?
    ... then in order to set up a persistent environment to handle ... When working with PHP you should think it's way instead of forcing it to do ... gives you a state that was on the server the moment it was sent from there, ... Historically, PHP is a simple procedural language, and each time ...
    (comp.lang.php)
  • Re: [PHP] AJAX and PHP
    ... Well it looks like you need a extra Ajax call to the server. ... Click a language flag sends a request to the server. ... object from PHP to javascript. ... by redirecting to another PHP page? ...
    (php.general)
  • Re: followup to how to do this.......
    ...   #a$ CSSClass ... language you wish on a server to do so, ... server that may be better adapted for some things than is php. ...
    (alt.html)