Re: Does requesting $_SERVER variables need to query the server
| From: | Marc Guay | Date: | Wed, 23 Feb 2011 20:12:14 +0000 |
| Subject: | Re: Does requesting $_SERVER variables need to query the server | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-311548@lists.php.net to get a copy of this message | ||
> so when
> you're using $_SERVER variables there's no call back to the server, as the
> code is still being run on the server at that point.
This is something I actually do understand. I was wondering if the
code running on the server had to query the server for the information
every time a $_SERVER var was referenced, but like Daniel explained,
the contents of the $_SERVER array are populated at runtime and so no
further "hey server, what version of apache are you running?"
questions need to be asked of it.
Marc