Use header() function..

Header('Location: script name');

Best Regards
Balaji

-----Original Message-----
From: Roberts, Mark [mailto:[EMAIL PROTECTED]] 
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
[EMAIL PROTECTED]



**************************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.

***************************************************************************

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to