Re: PHP NEWBIE
| From: | Jake Malone | Date: | Sat, 26 Apr 2003 05:57:40 +0000 |
| Subject: | Re: PHP NEWBIE | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-27374@lists.php.net to get a copy of this message | ||
Use this:
You IP address is: <? echo $_SERVER['REMOTE_ADDR']; ?>
-Jake
"Tegwin" <tegwin15@hotmail.com> wrote in message
news:20030425162611.71578.qmail@pb1.pair.com...
> Hello I am a newbie to PHP. Only been in it for a week or so.,.,
>
> I would like to know how to detect the IP address for all users that come
> onto my system. I have an Index.html page and in there I would like to put
>
> Your IP address is : xxx.xxx.xxx.xxx
>
> I need the file in php file to do the work, and call the variable from the
> html pages
>
>
>