Tong-Pak-Fu
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Tong-Pak-Fu

A place to relax and discuss.
 
HomePortalSearchLatest imagesRegisterLog in

 

 PHP: Show info....

Go down 
AuthorMessage
BlUeAnGeL
New Otaku
New Otaku
BlUeAnGeL


Number of posts : 85
Registration date : 2007-04-21

PHP: Show info.... Empty
PostSubject: PHP: Show info....   PHP: Show info.... Icon_minitimeSat May 05, 2007 6:14 pm

I know this is a basic thing.. but heres a little bit of code to show the users ip/browser/referer

Code:
<?
echo "User Info:<br>";
echo "IP: " . $_SERVER["REMOTE_ADDR"];
echo "Browser: " . $_SERVER["HTTP_USER_AGENT"] . "<br />";
echo "Referer: " . $_SERVER["HTTP_REFERER"] . "<br />";
?>

I hope you guys have some use of that little bit of code!
Back to top Go down
 
PHP: Show info....
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Tong-Pak-Fu :: Graphics And Web Discussion :: Photoshop/Webdesign :: Tutorial :: Web Design Tutorials-
Jump to: