> I think you want something like:
>
> if (in_array($_SERVER['REMOTE_ADDRESS'], file('log.txt')))
> die("Sorry, the access is denied.");
>
> - Robyes, that'll work too.. just more compact than what I posted :-p Jake -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

