How to get the Contact Form Script to add the IP of the user to the email body?
Hello,
I just bought the Contact Form and I am pleased to recommend it. It is fantastic. I have added new fields, validated them in every sense, just like the originals, and everything is working fine. I even deleted the weekdays-questions from the script because I think visitors from other countries would have trouble spelling Wedndesdady :).
However, in my current HTML form, I have this line:
<input type="hidden" name="env_report" value="REMOTE_HOST,HTTP_USER_AGENT,REMOTE_ADDR,HTTP_REFERER,DOCUMENT_ROOT,SERVER_NAME">
which returns some information about the user, such as their IP.
Could anyone please please tell me how to add this line to my PHP form, so that the Contact Form returns the IP, the server, the referer, etc.
Thank you in advance for your kind support.