How to get a page's domain

From: Date: Fri, 09 Jun 2000 18:32:39 +0000
Subject: How to get a page's domain
Groups: php.general 
Request: Send a blank email to php-general+get-1407@lists.php.net to get a copy of this message
If the address for a particular page is www.mydomain.com/thisdir/thisfile.php3 and $PHP_SELF contains /thisdir/thisfile.php3 how do you get www.mydomain.com ? Chris

« previous php.general (#1407) next »