close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

How to get the Contact Form Script to add the IP of the user to the email body?

Thread began 4/20/2010 6:38 am by a.champion405576 | Last modified 5/26/2014 10:23 am by a.champion405576 | 2118 views | 3 replies

a.champion405576

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.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...