This is both a feature request and a temporary support request. Could you please include a feature into the program to allow for the capturing of submitter's IP address, for the form sent by email. Also, is there a temporary fix I can use to achieve this endpoint while you consider the feature request?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's not much of a feature. Simple PHP code can get the address, simple addition to form can store the data or just display it as a warning to visitors.
$ip = GetHostByName($REMOTE_ADDR);
echo $ip;
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the quick response. I am not much of a php expert, so need a bit extra help. So do I put the code in the form.html to display the IP? Also, how do I get the ip submitted along with the form?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried just copying the code into my form.html, and the code just shows up as is on the web front end, no IP address. So, am obviously not doing this correctly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, got it to work with this code, " . $mail_message .= "Form Submitted by IP Address: ".$_SERVER['REMOTE_ADDR']."\n" . " which I inserted in processor.php
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is both a feature request and a temporary support request. Could you please include a feature into the program to allow for the capturing of submitter's IP address, for the form sent by email. Also, is there a temporary fix I can use to achieve this endpoint while you consider the feature request?
It's not much of a feature. Simple PHP code can get the address, simple addition to form can store the data or just display it as a warning to visitors.
$ip = GetHostByName($REMOTE_ADDR);
echo $ip;
Thanks for the quick response. I am not much of a php expert, so need a bit extra help. So do I put the code in the form.html to display the IP? Also, how do I get the ip submitted along with the form?
I tried just copying the code into my form.html, and the code just shows up as is on the web front end, no IP address. So, am obviously not doing this correctly.
Ok, got it to work with this code, " . $mail_message .= "Form Submitted by IP Address: ".$_SERVER['REMOTE_ADDR']."\n" . " which I inserted in processor.php