Re: Things to check before you post (The Ultimate PHP
| From: | php3 at developersdesk dot com | Date: | Fri, 28 Jul 2000 06:49:21 +0000 |
| Subject: | Re: Things to check before you post (The Ultimate PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-8714@lists.php.net to get a copy of this message | ||
Addressed to: David VanHorn <dvanhorn@cedar.net>
php-general@lists.php.net
** Reply to note from David VanHorn <dvanhorn@cedar.net> Thu, 27 Jul 2000 12:19:45 -0500
>
> Pity that variables like $REMOTE_ADDR aren't global. What ELSE would
> you do with that name?
function whatever() {
# NOTE: No global declarations
if( '1.1.1.1' == $GLOBALS[ 'REMOTE_ADDR' ] ) echo "Debug
Message<BR>\n";
}
There are ways...
Rick Widmer
Internet Marketing Specialists
www.developersdesk.com