View Full Version : REMOTE_ADDR
flowersource
07-15-1999, 03:41 PM
Is it possible to get this <!--#echo var="REMOTE_ADDR" -->
information sent back to me in a form mail object such as a text box?
Mike
Mike:
Yes, you can. Try the following:
<input type="text" name="rmtaddr" value=<!--#echo var="REMOTE_ADDR" -->>
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="<!--#echo var="REMOTE_ADDR" -->">
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
vBulletin® v3.6.8, Copyright ©2000-2013, Jelsoft Enterprises Ltd.