By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,349 Members | 1,353 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,349 IT Pros & Developers. It's quick & easy.

direct to another page

P: n/a
Kai
After submitting a form, I would like to redirect to another page. In ASP
you can do : response.redirect "filename.asp", but what about PHP?
Jul 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Whilst lounging around on Sat, 09 Aug 2003 13:22:40 GMT, "Kai"
<ka*****@msn.com> amazingly managed to produce the following with
their Etch-A-Sketch:
After submitting a form, I would like to redirect to another page.
In ASP you can do : response.redirect "filename.asp", but what
about PHP?

RTFM!

Regards,

Ian

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQA/AwUBPzUFimfqtj251CDhEQK/kwCfSRPRIpoEP9w+B0VElpgycco0LsQAn3hA
XukGc+m+vAIhLXxdA+uOzI6r
=pw42
-----END PGP SIGNATURE-----

--
Ian.H [Design & Development]
digiServ Network - Web solutions
www.digiserv.net | irc.digiserv.net | forum.digiserv.net
Programming, Web design, development & hosting.
Jul 16 '05 #2

P: n/a
"Kai" <ka*****@msn.com> wrote in message news:<AA********************@juliett.dax.net>...
After submitting a form, I would like to redirect to another page. In ASP
you can do : response.redirect "filename.asp", but what about PHP?


Call header() like so before *any* output:

header("Location: filename.php");

And then exit().

response.redirect probably works by doing this for you.
Jul 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.