On Fri, 12 Oct 2001, Carl Franks wrote: > if (condition) { > print "Location:page.html\n\n"; > } else { > print "Content-type: text/html\n\n"; > print "...html..."; > } > }
BTW, for a Location header, you should an absolute URL and not a relative URL, even if it's on the same server as the request URI. -- Brett http://www.chapelperilous.net/ ------------------------------------------------------------------------ "Irrationality is the square root of all evil" -- Douglas Hofstadter -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]