PDA

View Full Version : Send forms with asp


mannyrdi
02-08-2007, 12:39 PM
How do you setup a form with asp/iis instead of gemstream?

danlefeb
02-08-2007, 12:55 PM
It's a relatively simple process if you find a script online and customize it to your needs. But then again, more detail would be needed for a specific answer. What sort of form? An e-mail form? A form that posts to a database? What version of ASP? Or are you using ASP.NET? What version of IIS?

mannyrdi
02-08-2007, 01:18 PM
1. Email form
2. IIS that comes with Windows 2000 Server
3. Not ASP.NET, just regular asp.

danlefeb
02-08-2007, 01:22 PM
It's been years and years since I've dealt with regular ASP as it's been phased out since the turn of the century... :) I'd suggest Googling for some scripts and modifying them to fit your needs. The process isn't hard for an e-mail form.

mannyrdi
02-08-2007, 01:35 PM
the script itself is not the problem. On the form in the "Action" section, do I put the asp file...for example: "Action:sendform.asp"? And on the IIS, do I drop the sendform.asp on the same directory as the contact.html page?

danlefeb
02-08-2007, 01:56 PM
Oh, that's just HTML calling the ASP script. So you'd do something like:

<form method="post" action="LinkToYourASPFile">
Your form here
</form>


Where you put the actual ASP file doesn't matter in relationship to the HTML page - just make sure the action links to it properly.