FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


php form getting users IP address





Possum
Hi

I have a form that the user fills in. Can I also detect the IP of that person...

I would like this info as I might be able to detect spam this way..

Cheers Possum..
Hogwarts
The IP of the user is always stored in the variable,
Code:
$_SERVER['REMOTE_ADDR']


Therefore,
Code:
$ip = $_SERVER['REMOTE_ADDR'];
Related topics
ip address
users online, using php and text file
Frihost.com Ip Address
IP Address HTML CODE
Service Temporarily Unavailable (Down again?)
IP Address Banning ( Not using .htaccess)
Ban Users Ip: 72.265.31.23
Php form.
PHP to detect users accessing site via proxy server
Need super simple method to send a form to an email address
1 ip address = 1 soul
PHP Form Question
Purchasing a dedicated IP Address?
How to get the IP address of People who Visit my Site
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.