On Mon, 8 Oct 2001, James Kelty wrote: > I would like to be able to send someone automatically to another page when > requirements in a for are filled out correctly. Other that presenting a link > I can figure out how to do this. > > Example: > > Someone correctly fills out a user/pass form and is sent to the default > page, > otherwise they are sent to the login page again.... without having to give > them a link to back to the login screen...or to the default page.
Using CGI.pm, use the redirect method. Or, you can do print "Location: $url\n\n"; This must be the only header sent to the browser. It won't work if http headers have already been sent. -- Brett http://www.chapelperilous.net/ ------------------------------------------------------------------------ "All my life I wanted to be someone; I guess I should have been more specific." -- Jane Wagner -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]