Linux-Noob Forums
Linux-Noob Forums
>
Linux Server Administration
>
LAMP
> question
Full Version:
question
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
wds
2008-03-18, 10:48 AM
now i wants get client physical address what cat i do use php
hybrid
2008-03-18, 01:48 PM
To get the IP address of the user's browser in a PHP script, simply access the variable
$_SERVER['REMOTE_ADDR']
.
For example:
Code:
<?php echo 'Your IP address is '.$_SERVER['REMOTE_ADDR']; ?>
Linux-Noob Forums
>
Linux Server Administration
>
LAMP
> question