[PHP] Re: automatic forward URL to other URL

2002-02-07 Thread Baloo :0\)

In the first domain (www.mydomain.com) create a page called  index.php with
the code:
?
header(Location:www.mydomain2.com);
?

regards,
Alfredo

Manu Verhaegen wrote:

 I want automatic forward URL (www.mydomain.com) to (www.mydomain2.com)

 If i type in my brower www.mydomain.com the i will see www.mydomain2.com

 Greetings,
 Manu


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




Re: [PHP] Re: automatic forward URL to other URL

2002-02-07 Thread Analysis and Solutions

Folks:

Baloo :0) wrote:
 
 header(Location:www.mydomain2.com);

The header funcion really requires a fully qualified URI, and needs a space,
so make that

   header(Location: http://www.mydomain2.com/;);

Later,

--Dan

-- 
PHP scripts that make your job easier
  http://www.analysisandsolutions.com/code/
 SQL Solution  |  Layout Solution  |  Form Solution
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
 4015 7 Ave, Brooklyn NY 11232v: 718-854-0335f: 718-854-0409

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




[PHP] Re: automatic forward URL to other URL

2001-12-05 Thread Chris Lee

header(Location: www.domain2.com);

--

  Chris Lee
  [EMAIL PROTECTED]


Manu Verhaegen [EMAIL PROTECTED] wrote in message
001301c17c93$53be4620$[EMAIL PROTECTED]">news:001301c17c93$53be4620$[EMAIL PROTECTED]...
I want automatic forward URL (www.mydomain.com) to (www.mydomain2.com)

If i type in my brower www.mydomain.com the i will see www.mydomain2.com


Greetings,
Manu





-- 
PHP General 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]