close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Adding IP address to the form

Thread began 12/22/2010 4:11 pm by rufus406794 | Last modified 12/29/2010 9:06 am by rufus406794 | 2011 views | 6 replies |

rufus406794

Adding IP address to the form

I am using your Contact form and its work great... thank you.

But now i would like to receive the IP address of the person submitting the form.
Can you tell the steps i need to have the form submit with the users IP address?

Many thanks

Sign in to reply to this post

Ray BorduinWebAssist

The IP address is always available with:

<?php echo($_SERVER['REMOTE_ADDR']); ?>

You can just add that to the email body.

Sign in to reply to this post

rufus406794

Can you give me a file name and a line number to place the code.

Many thanks

Sign in to reply to this post

Ray BorduinWebAssist

It should be on the page:

WA_UniversalEmail/Templates/registration.php

You could add it just below the <body> tag

Sign in to reply to this post

rufus406794

sorry but i only have:
WA_Universal_Email... mail.php, WAUE-CONTACT_1 OR MailFormatting_php

in the Templates folder i have only... contactus

thanks for any help

Sign in to reply to this post

Ray BorduinWebAssist

Sorry, use contactus.php to make updates. I was thinking this was a user registration solution question so I gave the wrong template name.

Sign in to reply to this post

rufus406794

Thank you!

Sign in to reply to this post

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...