Hi Stanley,
it should be something like this:
header ("Location: http://www.cw213.net/");
make sure u run this b4 any output to the browser.
--
regards,
chen wei (http://www.cw213.net)
===================================
Solutions Developer of Earth9.com
===================================
Wednesday, September 26, 2001, 5:52:33 PM, you wrote:
S> Hi all,
S> How can i redirect URL under win2k?
S> e.g:
S> if (user == 1) {
S> redirect to www.yahoo.com
S> }
S> else {
S> redirect to www.google.com
S> }
S> Pls help thx!
S> Stanley
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]