Note: For a couple who seem to be wondering there is a PHP news server which
works in conjunction with this mailing list. The address is: news.php.net


Currently collect the following vars in a early stage stats program(Working
on the KISS principle) for my own use.

Here are the user vars I think I should collect.

$_SERVER[REMOTE_HOST]

$_SERVER[HTTP_REFERER]

$_SERVER[HTTP_USER_AGENT]

How can I get the remote DNS name? $_SERVER[REMOTE_HOST] gives an ip.

What other info could I collect that would be useful?

For $_SERVER[HTTP_REFERER] does any one have script that will get the
http://www.foobar.com bit out of http://www.foobar.com/dir1/page1.htm? Some
sort of explode would probably work but I am not sure on this one.

For $_SERVER[HTTP_USER_AGENT] What is the best way to get seperate OS and
Browser Vars?

Thanks,

JJ Harrison
[EMAIL PROTECTED]
www.tececo.com



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to