Re: record user domain
| From: | Andrey Hristov | Date: | Thu, 08 Nov 2001 11:12:44 +0000 |
| Subject: | Re: record user domain | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73861@lists.php.net to get a copy of this message | ||
$REMOTE_ADDR
or
$HTTP_X_FORWARDED_FOR (if IP is used)
record the IP and then setup in cron a script which does gethostbyaddr for every row. This function
may takes some time so it is not
good to insert it in the script which records the activity
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
----- Original Message -----
From: "Caspar Kennerdale" <caspar@thetuckshop.com>
To: <php-general@lists.php.net>
Sent: Thursday, November 08, 2001 12:58 PM
Subject: [PHP] record user domain
> I have a project which uses php server side to records user messages
> inputteed from a shockwave website.
>
> We are recording the name, time and message.
>
> What I would like to do is to also record the domain or country the user (or
> their isp) is in- ie .com, .co.uk, .bg etc etc
>
> Any ideas on how to tackle this?
>
> Thanks in Advance
>
> Caspar
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>