RE: [PHP] REMOTE_ADDR in requied files
| From: | Intruder | Date: | Fri, 04 Jan 2002 10:40:13 +0000 |
| Subject: | RE: [PHP] REMOTE_ADDR in requied files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-79441@lists.php.net to get a copy of this message | ||
>> When I call function stored in another file, included with require
>> command, variable $REMOTE_ADDR is empty in this function. How is that
>> possible?? Thanks for help.
function Funcname() {
global $REMOTE_ADDR;
...funcbody...
}