RE: [PHP] redirecting to a new page
| From: | Jeroen Wesbeek | Date: | Wed, 26 Jul 2000 08:54:40 +0000 |
| Subject: | RE: [PHP] redirecting to a new page | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-8226@lists.php.net to get a copy of this message | ||
use:
header("Location: bla.php");
make sure you don't send other output (don't forget your auto prepend file)
to the client before sending the HTTP-header.
Jeroen Wesbeek
Webdeveloper
DoWebWeDo
St. Jacobsstraat 16
3500 AK Utrecht
030-2348110
[ Roses are red, violets are blue, I am schizophrenic and so
am I ]
[ If you don't understand it, get rid of it ]
-----Original Message-----
From: Generic Player [mailto:generic@unitedtamers.com]
Sent: woensdag 26 juli 2000 5:48
To: php-general@lists.php.net
Subject: [PHP] redirecting to a new page
Hello again
I have a page that takes info in from a form, and sends it to a php
page. That page then checks if the info is valid or not. If its not it
gives them the error, but if it is, then it adds the data to the
database, and I would like it to then re-direct them to another page.
The only things I could find to send people to a new page needed to be
used in the header, which won't work. Any ideas?
thanks
Generic Player
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net