Check the header() function--you want header ("Location:
http://www.xyz.com";). It has to be outputted before any other output.

Cheers,


Marco
-- 
----------------
php|architect - The Monthly Magazine for PHP Professionals
Come check us out on the web at http://www.phparch.com!
--- Begin Message ---
i know this is an elementary question, but i can't even figure out what to
search for at php.net ....

i need php code that, when executed, takes you to a different web page, i.e.
when browser goes to www.abc.com, he's automatically redirected to
www.xyz.com ...

thanks in advance for the help.



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


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

Reply via email to