Hello,
i'm Anthony from France :-)
well i have a problem, i try make an authentication per range IP Address
like :
from 194.195.196.0 to 194.195.196.255 but it doesn't work, except if i make
an authentication for only one IP Address. I tried to make with "LOOP" and
"WHILE" tag, but i got the problem everytime !
This is the last example script i made with two domains which accept only
the range IP Address for each :
<?php
$host = getenv("REMOTE_ADDR");
$ip = range(0,255);
if ($host != "194.195.196.($ip))
if ($host != "195.196.197.($ip))
{
header("Location: htt://www.internet.com/");
}
?>
Have u got a solution please !
Thanks !
Have a nice day !
Anthony.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]