PDA

View Full Version : REMOTE_ADDR


flowersource
07-15-1999, 03:41 PM
Is it possible to get this <!--#echo var=&quot;REMOTE_ADDR&quot; -->
information sent back to me in a form mail object such as a text box?

Mike

Rich
07-15-1999, 06:21 PM
Mike:

Yes, you can. Try the following:

<input type=&quot;text&quot; name=&quot;rmtaddr&quot; value=<!--#echo var=&quot;REMOTE_ADDR&quot; -->>

Rich

flowersource
07-16-1999, 10:27 AM
Rich,
That did it...I did have to add the textbox parameters.
Thanks,
Mike

Justin
07-16-1999, 02:53 PM
I wouldn't use a textbox....

<input type=hidden name=remote_address value=&quot;<!--#echo var=&quot;REMOTE_ADDR&quot; -->&quot;>

I would also enclose it in quotes like above - some browsers freak out if an unquoted value has periods, dashes, etc.

HTH

------------------
Justin Nelson
FutureQuest Support

flowersource
07-16-1999, 03:03 PM
I tried it without a textbox, it wasn't sending me the IP in the formmail that way...I put it in a textbox and it arrives in the mail with the rest of the info on the form.

Mike