Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server side form submission

Status
Not open for further replies.

dkobia

Programmer
Oct 1, 2001
4
US
I need to submit data to a server that accepts only preregistered ip addresses. My problem is that when a user comes to my site, the form data is submitted with their ip address. Is there a way to capture the data from the user and have my server submit it instead? i.e. so that my server's ip address is reflected in the submission.

Any help will be greatly appreciated.
 
What is the reason for allowing the server to only accept preregistered IP addresses? If there is a valid reason then what you are talking about only provides a loophole to that security. If there is not a valid reason then I suggest doing away with that restriction.
 
If the form they are submitting is located on your site, then:

request.serverVariables("HTTP_REFERER")

should return your IP address.

Is that the statement that is causing you problems?

paul
penny1.gif
penny1.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top