Re: Include Domain Name

From: Date: Thu, 24 Aug 2000 06:36:53 +0000
Subject: Re: Include Domain Name
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-13309@lists.php.net to get a copy of this message
Thank you thank you... I thought I needed to use the include command, but I used: <? print($SERVER_NAME); ?> and it worked perfectly the first time. Thanks again James and Joao... Larentium ----- Original Message ----- From: "James Atkinson" <james.atkinson@ebox.ca> To: "Larentium" <larentium@gilanet.com>; <php-general@lists.php.net> Sent: Wednesday, August 23, 2000 6:43 PM Subject: Re: [PHP] Include Domain Name > On Wed, 23 Aug 2000, Larentium wrote: > > > > I'm new to PHP and been searching the web to find a list of the type of > > includes that PHP can use. > > My particular need is to include the domain name the php file is on. > > Any ideas or directions to resources that might have the information I'm > > looking would be greatly appreciated. > > > > Larentium > > > > $SERVER_NAME is probably what you're looking for. > > -- > James Atkinson > ----------------------------------------------------------------- > James Atkinson 100world > Technical Developer 512-1529 West 6th Avenue > phone: +1-604-637-8122 Vancouver, BC, V6J 1R1 > fax: +1-604-742-1770 Canada > email: james.atkinson@100world.com http://www.100world.com > > +---------------------------------------------------------------+ > | This message may contain confidential and/or privileged | > | information. If you are not the addressee or authorized to | > | receive this for the addressee, you must not use, copy, | > | discolse or take any action based on this message or any | > | information herein. If you have received this message in | > | error, please advise the sender immediately by reply e-mail | > | and delete this message. Thank you for you cooperation | > +---------------------------------------------------------------+ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#13309) next »