You have to wrap REMOTE_ADDR in pound signs (#) and make sure it's inside a
CFOUTPUT.

<CFOUTPUT>
<input type=hidden name="env_report" value="#CGI.REMOTE_ADDR#">
</CFOUTPUT>

> -----Original Message-----
> From: Wackers, Michiel [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 06, 2004 12:47 PM
> To: CF-Newbie
> Subject: RE: IP Address
> 
> Thanks for the quick reply
> 
> The entered in following code, but it didn't return the info.
> 
> <input type=hidden name="env_report" value="REMOTE_ADDR">
> 
> But only returned the following:
> REMOTE_ADDR
> 
> Any suggestions
> Thanks
> 
> 
> -----Original Message-----
> From: Daniel Kessler [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 06, 2004 11:56 AM
> To: CF-Newbie
> Subject: Re: IP Address
> 
> 
> >I am having a survey online. I want to see the ip address those
> >filling it out. How can I collect this information using forms and
> >cfm.
> 
> CGI.REMOTE_ADDR
> 
> More reserved CGI info:
> http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/expres34.htm
> 
> There're lots of fun things there.
> 
> --
> Daniel Kessler
> 
> Department of Public and Community Health
> University of Maryland
> Suite 2387 Valley Drive
> College Park, MD  20742-2611
> 301-405-2545 Phone
> www.phi.umd.edu
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:521
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to