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... ;)
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php