RE: [PHP] Retrieving my domain name
| From: | Pablo Gosse | Date: | Tue, 04 Nov 2003 16:38:21 +0000 |
| Subject: | RE: [PHP] Retrieving my domain name | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-168483@lists.php.net to get a copy of this message | ||
On Tuesday, November 04, 2003 8:35 AM Shaun wrote:
> I want to generate an email with a link in it that links back to the
> domain name I am sending it from. How can I do this in PHP?
$_SERVER['SERVER_NAME'] will return of the domain under which the script
is called.
Cheers,
Pablo