Oct 6, 2003 #1 colners Technical User Mar 21, 2003 72 GB I currently have a form which sends details to an e-mail address using CDONTS. I want to be able to record the IP address of the form's sender and send this with the rest of the information to an e-mail. Is this possible and how can I do this? Regards,
I currently have a form which sends details to an e-mail address using CDONTS. I want to be able to record the IP address of the form's sender and send this with the rest of the information to an e-mail. Is this possible and how can I do this? Regards,
Oct 6, 2003 #2 Veep Programmer Jan 10, 2002 1,368 US response.write("Your IP Address is: " & request.servervariables("REMOTE_ADDR") Upvote 0 Downvote
Oct 6, 2003 Thread starter #3 colners Technical User Mar 21, 2003 72 GB Sorry, forgot to mention. My form is a standard HTML form which is submitted to an ASP script via the POST method. Does this make a difference? Regards, Upvote 0 Downvote
Sorry, forgot to mention. My form is a standard HTML form which is submitted to an ASP script via the POST method. Does this make a difference? Regards,
Oct 6, 2003 #4 Veep Programmer Jan 10, 2002 1,368 US Nope. Put the code in the ASP page and include the variable in your email. <% UserIP=request.servervariables("REMOTE_ADDR" %> Upvote 0 Downvote
Nope. Put the code in the ASP page and include the variable in your email. <% UserIP=request.servervariables("REMOTE_ADDR" %>
Oct 6, 2003 Thread starter #5 colners Technical User Mar 21, 2003 72 GB That's great. Thank you. I've tried and tested it and it works fine. Regards, Upvote 0 Downvote
Oct 6, 2003 #6 lebisol IS-IT--Management Jan 3, 2003 3,325 US * > need more info? :: don't click HERE :: Upvote 0 Downvote