Results 1 to 3 of 3

Thread: How to show remote Host and IP on html form

  1. #1
    Join Date
    Jun 2005
    Posts
    4

    Default How to show remote Host and IP on html form

    I am a new user so forgive me if this has been answered before but is it possible to show some information about the persion who filled out the form, like his ip and his host. This works great on a normal plain form but when I changed over to a HTML form I could not get this infomation over . I have tried $env_report and
    $REMOTE_HOST,$REMOTE_ADDR,$HTTP_USER_AGENT,$AUTH_TYPE

    but no luck I have the following in my form

    PHP Code:
    <input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE"
    Any help on this would be great :-)

  2. #2
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: How to show remote Host and IP on html form

    Hi,

    The textual output of env_report is not compatible with HTML.

    So, you need to derive a field http://www.tectite.com/fmhowto/derived.php from the server value and then use that field in your HTML template.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Jun 2005
    Posts
    4

    Default Re: How to show remote Host and IP on html form

    Thank you russellr :-) will give it a shot

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sample HTML Form Using FormMail
    By russellr in forum FormMail
    Replies: 1
    Last Post: 21-Mar-2007, 06:49 AM
  2. Sending form results in an HTML email
    By russellr in forum HOWTO Guides and Tips
    Replies: 26
    Last Post: 12-Jan-2006, 08:31 PM
  3. Variables in HTML form - assigning input type
    By tvulucy in forum FormMail Subscription Support
    Replies: 4
    Last Post: 28-Oct-2004, 08:03 PM
  4. Show form results to user
    By cottonslurpy in forum FormMail Subscription Support
    Replies: 1
    Last Post: 02-Aug-2004, 04:59 AM
  5. Submitted form output onto HTML page?
    By LKimber in forum FormMail Subscription Support
    Replies: 2
    Last Post: 13-Apr-2004, 10:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •