Hi Jane,

Sun, Jian wrote on 29.07.2004:

>Dear Beginner-cgi:
>I used a CGI program to load a HTML form page as shown below, 
>After I filled the form and submit, the results is just attached to
>the initiated form page when it leads to the new webpage. My
>question is: how can I load to a new HTML page after I submit the
>form? 

You need to pass the form to a script which processes the form data and prints out a) 
a result page by itself or b) uses

print $q->redirect($url)

to redirect the browser to a new page at $url (where $q is your CGI object.

You can also modify your script to call itself upon submission.

- Jan
-- 
There's no place like ~/

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to