hi,

try

$SERVER_NAME

http://www.php.net/manual/en/ref.http.php

regards
attila strauss



> $REQUEST_URI gets me home/dir/index.php
> but I need to get the domain name.
> 
> Can't seem to find it anywhere, what's the environment variable for the 
> domain name again? Thanks!
> Peter
> 


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

Reply via email to