Run
<?
phpinfo();
?>
on a page. You will be able to see all of the available environment variables
avaliable to you, one will tell you the client IP address.
Michael
"Karl J. Stubsjoen" wrote:
> Okay, last one for the day! How do you query the clients IP address? We
> have a site in development, and I want to restrict access to people coming
> in from certain IP addresses.
> Really, all I need to do is query the IP address, I can code the rest of it.
>
> Thanks!
>
> Karl
>
> --
> 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]
--
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]