Ciliotta, Mario wrote: > > Does anyone know the cgi variable to capture a users ip address. I have used it >before but I just seem to be drawing a blank. Also does anyone have a link to a list >of all the available CGI variables.
Well the question has already been answered, but for future reference you might want to remember this little bit of code: <CFLOOP LIST="#StructKeyList(CGI)#" INDEX="CGIVAR"> <CFOUTPUT>#CGIVAR# = #StructFind(CGI,CGIVAR)#<BR></CFOUTPUT> </CFLOOP> That will show you ALL of the CGI variables .. it works on CF5 (I just tested).. it will NOT work on CF4, but I think it'll work on CF 4.5 and MX too. Some of the CGI variables vary from one web server platform to the next. - Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com