Re[2]: [PHP] Container functions....
| From: | Tom Rogers | Date: | Mon, 11 Aug 2003 00:36:12 +0000 |
| Subject: | Re[2]: [PHP] Container functions.... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159082@lists.php.net to get a copy of this message | ||
Hi,
What about this:
if(developer_execute()) {
execute this code only
}
Where the function developer_execute would be defined as:
function developer_execute() {
if(getenv("REMOTE_ADDR")=="000.000.000.000") return true;
return false;
}
--
regards,
Tom