note 58297 deleted from function.printf by jome
| From: | jome@php.net | Date: | Mon, 31 Oct 2005 05:38:52 +0000 |
| Subject: | note 58297 deleted from function.printf by jome | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-97852@lists.php.net to get a copy of this message | ||
Note Submitter: StaNex at Shaw dot ca
Reason: bad code
----
Here's a good 1 line snippet that will tell you all your Apache variables. Yes, I said Apache..
It might work with some other HTTPd with PHP installed, but I doubt it..
<?PHP
print_f ($GLOBALS);
?>
Obviously most of you already know about this, but it's useful..
Also, make sure you use this where it is NOT ACCESSIBLE BY THE PUBLIC, as this does store passwords
and yeah..
Enjoy!