Want to add to my bv php form a script which will display visitor`s IP address on the page, or possibly even better - email it to me when the form is submitted. Somewhere found this code:
$ip=@$REMOTE_ADDR;
echo "<b>IP Address= $ip</b>";
But have no idea how to insert it into the page so that user will read something like this:
You are submitting this form from IP xxx.xx.xxx.xxx
$ip=@$REMOTE_ADDR;
echo "<b>IP Address= $ip</b>";
But have no idea how to insert it into the page so that user will read something like this:
You are submitting this form from IP xxx.xx.xxx.xxx
Comment