Allen Wayne Best wrote:
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 ); 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"
[snip]
You still have a typo in print_r(), but either way you see the output from $_SERVER. So it exists. Now call the same script through your web
server (http://youdomain/thisfile.php) and see if you get output.
If you do not see anything (be sure to View Source, also), then you've got a really screwed up installation of PHP and should reinstall it.
--
---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