note 16238 added to function.phpinfo
| From: | antoinetroullier at hotmail dot com | Date: | Mon, 22 Oct 2001 09:39:33 +0000 |
| Subject: | note 16238 added to function.phpinfo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-19250@lists.php.net to get a copy of this message | ||
The function phpinfo(); displays ALL informations. If you need one of them for a test just note the
name of this variable (you have this name in the result of phpinfo()), for exemple REMOTE_ADDR to
know the IP of the call, and do:
$call = getenv(REMOTE_ADDR);
print("call from : ".$call);
// will display
call from : X.X.X.X
--
http://www.php.net/manual/en/function.phpinfo.php
http://master.php.net/manage/user-notes.php?action=edit+16238
http://master.php.net/manage/user-notes.php?action=delete+16238
http://master.php.net/manage/user-notes.php?action=reject+16238