php3-list | 199901
Date: 01/01/99
- Next message: Frank M. Kromann: "Re: [PHP3] / Being Relative To The Domain?"
- Previous message: Andrew Chen: "[PHP3] Re: Apache/PHP3 in a nutshell, was: [PHP3] RedHat 5.2/PHP install trouble?"
- Next in thread: Frank M. Kromann: "Re: [PHP3] / Being Relative To The Domain?"
- Maybe reply: Frank M. Kromann: "Re: [PHP3] / Being Relative To The Domain?"
- Reply: Peter van Dijk: "Re: [PHP3] / Being Relative To The Domain?"
- Reply: David Norris: "RE: [PHP3] / Being Relative To The Domain?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I've recently started using PHP within the last week and have been annoyed
but only one thing (and that isn't even that terrible). When including or
requiring files I notice that when you put the absolute location, it is
the absolute location of the file on the system, not under the domain. Is
there any way to make the absolute location look at the domain instead of
the system?
For example:
<? require('/misc/siteinfo.inc'); ?>
on the domain "domain.com" would look for the file at
domain.com/misc/siteinfo.inc.
The main reason I ask this is because I usually write sites at one domain
in one directory (i.e. ~/beta.domain.com) and move it to the real domain
later (i.e. ~/domain.com) and would prefer not to go through all of my
files and change the link.
Thank in advance.
Happy New Year,
Carl Nasal
-- Carl Nasal CEO/Owner ZZWeb [Web Publishing] http://www.zzweb.comPersonal E-Mail: carlnasal <email protected> Business E-Mail: webmaster <email protected>
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev <email protected>
- Next message: Frank M. Kromann: "Re: [PHP3] / Being Relative To The Domain?"
- Previous message: Andrew Chen: "[PHP3] Re: Apache/PHP3 in a nutshell, was: [PHP3] RedHat 5.2/PHP install trouble?"
- Next in thread: Frank M. Kromann: "Re: [PHP3] / Being Relative To The Domain?"
- Maybe reply: Frank M. Kromann: "Re: [PHP3] / Being Relative To The Domain?"
- Reply: Peter van Dijk: "Re: [PHP3] / Being Relative To The Domain?"
- Reply: David Norris: "RE: [PHP3] / Being Relative To The Domain?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

