Hi, I need a little help with my code:
<? if (ereg("00.00.00.00",$REMOTE_ADDR)) { echo "Banned Sorry"; exit(); } ?>
How can I make it so it gets the ip's from a text file?
Thx Karamja
fopen(), fread() RTM
Ok, Thx
But can I have like a demo code or somethink as I have been trying fopen() ect but with no luck.
Read the user contributed notes. There are tons of examples.