Capture user's IP when submitting form

Permalink
Any easy way to include the IP of the user in the results of a form submitted through c5?

hursey013
 
SVijay replied on at Permalink Reply
SVijay
Hi,

Use the following code to get IP address

[code]
<?php $ip = $_SERVER["REMOTE_ADDR"];

echo $ip; ?>
[\code]

For more deatils visit

http://wiki.jumba.com.au/wiki/PHP_Get_user_IP_Address...
tommyf replied on at Permalink Reply
I know that this thread is a bit old, but just wan't to let you know that the new version of the extended_form will offer this possibility.

I'm testing it right now and corretje have done a really nice job :)