Re: header("Location: ") problem

From: Date: Wed, 22 Sep 2004 16:36:49 +0000
Subject: Re: header("Location: ") problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-197584@lists.php.net to get a copy of this message
luke@lukem.co.uk wrote:
hi, is there a way of setting a target property for header("Location: thanks.htm")? my form is in an iframe so when i hit submit, my php page redirects the user to thanks.htm but this is rendered within the iframe not in a fresh page.
No, you have to use target in the form - forms have target atribute too.

« previous php.general (#197584) next »