use the $REMOTE_ADDR variable for the remote address
see php manual chapter 7 Variables - Variables from outside PHP
Nafiseh Saberi schrieb:
> hi.
> how can I control the ip that with ID and password ,all of
> user cant enter to site and if one person want to enetr should
> have special IP that I know it.
>
> thanks.
> nafiseh.
--
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]