View Single Post
Old 11-22-2008, 06:16 AM   #10 (permalink)
Kalle
The Frequenter
Zend Certified 
 
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
Kalle is on a distinguished road
Default

Hmm your parameters on that iplog function doesn't really make sense as you're overriding them just below.

Also you may need to know that some of the _SERVER values such as HTTP_CACHE_CONTROL, HTTP_CLIENT_IP and HTTP_X_FORWARDED_FOR. Even HTTP_USER_AGENT may emit an E_NOTICE because its not required and requests sent to the script with eg. curl or custom made programs may not send get User-Agent header.

Also the _GET['cookie'], unless its script specific and you want to get all the cookies then you should use the _COOKIE magic array ofcourse :)
__________________
Send a message via MSN to Kalle Send a message via Skype™ to Kalle
Kalle is offline  
Reply With Quote
The Following User Says Thank You to Kalle For This Useful Post:
codefreek (11-22-2008)