Re: PHP code will not work
| From: | Daniel Brown | Date: | Thu, 10 Jul 2008 15:35:59 +0000 |
| Subject: | Re: PHP code will not work | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-276595@lists.php.net to get a copy of this message | ||
On Thu, Jul 10, 2008 at 11:07 AM, Richard Heyes <richardh@phpguru.org> wrote:
>> $_ENV
>
>> $_SERVER
>
> $_ENV and $_SERVER are. Though their contents are doubtless different.
Proof that old dogs can learn new tricks. As n00b and fundamental
as it may be, I took for granted that they weren't going to be
available. They are different, but they certainly are available.
I'll be honest --- I just found out this minute, too, that I was
wrong about $HTTP_SERVER_VARS as well. I ignorantly based my
assumptions (back in '97 or '98) that they'd only be available via the
web on the *name* of the array alone. HTTP is a protocol.... you get
the point.
Neat-o.
--
</Daniel P. Brown>
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.