HighDots Forums  

Forms

alt.discuss.html alt.discuss.html


Discuss Forms in the alt.discuss.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
George W. Everett
 
Posts: n/a

Default Forms - 01-05-2006 , 02:40 PM






Hello, i am making a form for online registration and i have two problems.

First, i am using the Post method to send the form data in a e-mail. I
would like to do this another way like saving it as a txt doc on the sites
sever. How can i do this?

Second, After you hit send it sends the data but how can i make it go to
another page saying, thank you for registering.



Reply With Quote
  #2  
Old   
Bob S
 
Posts: n/a

Default Re: Forms - 01-06-2006 , 11:51 PM






1. I'd use the GET method initially, just to be sure your form data is being
sent, because you'll see it in the URL. You can change it later to the POST
method, which doesn't show the data in the URL.

2. It's very easy to do it with ASP programming. Set the action of the form
to go to another page (eg. www.xyz.com/response.asp). In that asp page,
massage your form data with vb script and store it in an Access database or
other file.

Dim varLName
If (Request.QueryString("LName") <> "") Then
varLName = Request.QueryString("LName")
End If
....

At the end of the script, add a redirect line to the code to send it to your
thank you page.

RESPONSE.Redirect(http://www.xyz.com/thankyou.htm)

PHP surely does the same thing but I don't know the syntax.

Bob




@ursa-nb00s0.nbnet.nb.ca...
Quote:
Hello, i am making a form for online registration and i have two problems.

First, i am using the Post method to send the form data in a e-mail. I
would like to do this another way like saving it as a txt doc on the sites
sever. How can i do this?

Second, After you hit send it sends the data but how can i make it go to
another page saying, thank you for registering.





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.