John Holmes wrote:
M. Sokolewicz wrote:

Chris W. Parker wrote:


echo "<pre>",print_r($_SERVER),"</pre>";


why are you echoing the result of print_r ?! The result is a boolean true or false. the actual output ON SCREEN is done from WITHIN the function automatically. Echoing the result is useless, and even more, it adds to confusion because of a '1' appearing all of a sudden on screen.


I'm sure he meant

echo '<pre>',print_r($_SERVER,1),'</pre>';

then... ;)

hadn't noticed that param... I feel ashamed... :$

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to