Hi,
In ColdFusion, I can redirect to another page with the tag cflocation
url=somepage.ext. Is there an equivalent in PHP?
Thanks,
Jim Johnson
Sure is:
header(Location: somepage.ext);
exit;
Cheers!
Rick
If you think you're too small to have an impact, try going to bed with a
mosquito in the room. - Anita Koddick
From: James Johnson [EMAIL PROTECTED]
Date: Thu, 12 Dec 2002 12:30:19 -0800
To: [EMAIL PROTECTED]
Subject: [PHP] PHP
to
redirect.scriptlocation='http://www.somewebsite.com';/script
- Original Message -
From: James Johnson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 12, 2002 2:30 PM
Subject: [PHP] PHP Redirects
Hi,
In ColdFusion, I can redirect to another page with the tag cflocation
url
AFAIK, ASP does output buffering by default (meaning it doesn't send the code
to the browser until the page is fully parsed and ready to send to the
client) That's what allows it to response.redirects after headers have been
generated. Cold Fusion is the same way.
However, once the actual
4 matches
Mail list logo