[thelist] Script lookover

Morbus Iff morbus at disobey.com
Mon Feb 4 13:28:01 CST 2002


 >$spammer_ip = $ENV{'REMOTE_ADDR'};
 >if('$spammer_ip' != '209.61.158.9'){ // In case they fake the ip to my

There should be no single quotes around $spammer_ip - with it,
interpolation would never happen, and you would *literally* be comparing
the string "$spammer_ip" to your IP address.


--
Morbus Iff ( softcore vulcan pr0n rulezzzzz )
http://www.disobey.com/ && http://www.gamegrene.com/
please me: http://www.amazon.com/exec/obidos/wishlist/25USVJDH68554
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus




More information about the thelist mailing list