Re: Re: What happend to _SERVER?

From: Date: Sun, 15 Aug 2004 01:01:35 +0000
Subject: Re: Re: What happend to _SERVER?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-193855@lists.php.net to get a copy of this message
* Thus wrote Allen Wayne Best: > thomas: > > my php.ini has > > variables_order = "EGPCS". > > Silly me, I forget to put $_SERVER in the print_r statement. so here is the > revised file with output: > > ------------------- start of stuff php ---------------------- > <?php > print_r( $_SEVER ); typo! > var_dump( $_SERVER ) ; > ?> > ------------------- end of stuff php ---------------------- > > ------------------- start of stuff out ---------------------- > X-Powered-By: PHP/4.2.2 > Content-type: text/html > array(30) { > ["HOSTNAME"]=> > string(18) "mesozoic.atoka.org" > ["SHELL"]=> > string(9) "/bin/bash" You are running this file locally with the php cgi binary, not through a webserver. Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid!

« previous php.general (#193855) next »