RE: [PHP] Re-directing
| From: | Balaji Ankem | Date: | Wed, 24 Jul 2002 14:31:47 +0000 |
| Subject: | RE: [PHP] Re-directing | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109311@lists.php.net to get a copy of this message | ||
Use header() function..
Header('Location: script name');
Best Regards
Balaji
-----Original Message-----
From: Roberts, Mark [mailto:Mark.Roberts@williams.com]
Sent: Wednesday, July 24, 2002 7:58 PM
To: PHP Mailing list (E-mail)
Subject: [PHP] Re-directing
Is there a way to redirect to a different script in PHP? I call it
redirecting, but can't find it in the documentation using that track.
I have a script...that if a certain criteria is met, I want to load a
different script. Haven't been able to figure that out yet. I have
gotten about it by conditionally executing a location.href in
javascript. It works, but would like to know how to do it in PHP.
~Thanks.
Mark Roberts
Sr. Systems Analyst
LanApps/Web Development
The Williams Information Services Corporation
918-573-1706
mark.roberts@williams.com
**************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ***************************************************************************
**************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ***************************************************************************