Hi all,
I want to get the current domain name in to a PHP
variable.

This is the case..
I have a web site and four diferent domian names
pointing to that site. I want to redirect users from
the four domains to their specific home pages.

eg: if a visitor from http://domain1.com the header 
should be passed to domain1.php, if the visitor from 
http://domain2.com the header hould be pass to domain2.php.

thanks

Viraj


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

Reply via email to