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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Submit problem - Help please

Status
Not open for further replies.

ronnetp

Programmer
Apr 8, 2002
71
I have a problem with a Form, is is hosted on my lan on a Server, this server has internet connection, The form has a few Input fields.

What I want to do Is that users that dont have Internet access from their workstations on our lan, open the form from our Intranet and that form send the post to a website on the Internet, it is for sending Text messages to cellular phones.

The problem I have is that when a user without internet fills the form and hit submit, the form is trying to make the connection to the action site, from the workstation and not the Server, I hope I explained it well.

Here is part of the code

<form method="POST" action=" name="formdoc">
<input type="text" name="sender" size="10">
</form>
 
Your action points to an Internet URL so the workstations without internet access won't be able to reach it. I'm not certain how exactly to accomplish this but you'll have to create some method of passing the form data from the workstation to your intranet, and from there, pass it on to the internet. My first thought would be to store the form data in a database and then, on a regular basis, have a routine that reads the database, sends the data, then clears that message from the database.

Hope this helps....

There's always a better way. The fun is trying to find it!
 

Isn't this what a proxy server does? Try installing proxy server software, and setting the details in your browsers to point to it.

Hope this helps,
Dan
 
Thanks guys,

I am going to try send the values using requesquerystring, and the get the values on a ASP on the server.

I will give it a shot and see.
Thanks
 
Did not work, anyone has another idea?
 
i would recomend the database idea mentioned above

I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top