function whatever() {
# NOTE: No global declarations
if( '1.1.1.1' == $GLOBALS[ 'REMOTE_ADDR' ] ) echo "Debug Message<BR>\n";
}
There are ways...
Interesting! So if I just:
if( '1.1.1.1' == $GLOBALS[ 'REMOTE_ADDR' ] ) {$Debug = true; } else {$Debug = false;}
Then I don't even have to mung my existing scripts, beyond the one line..
Thanks!
(Great things, these mailing lists!)
--
www.SpamWhack.com A pre-emptive strike against spam
Where's dave?
http://www.findu.com/cgi-bin/find.cgi?kc6ete-9
My transistor sings
with unintended parasitic
the smoke escapes
By Jeff Stout