Re: Include Domain Name
| From: | Joao Prado Maia | Date: | Thu, 24 Aug 2000 00:46:27 +0000 |
| Subject: | Re: Include Domain Name | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13274@lists.php.net to get a copy of this message | ||
At 06:39 PM 8/23/2000 -0600, 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. LarentiumHi Larentium, What do you mean by "type of includes" ? I'm almost sure you mean a variable holding the domain name that the script is running on. If that's it, use $SERVER_NAME on your script. Try reading the Online PHP Manual at http://www.php.net/manual/ with comments and tipis from real users. I hope this helps, Joao -- Joao Prado Maia Web Developer Kefta.com, Inc