php3-list | 199901
Date: 01/01/99
- Next message: David Norris: "RE: [PHP3] / Being Relative To The Domain?"
- Previous message: Colin Viebrock: "Re: [PHP3] crypt() question"
- In reply to: Frank M. Kromann: "Re: [PHP3] / Being Relative To The Domain?"
- Next in thread: Peter van Dijk: "Re: [PHP3] / Being Relative To The Domain?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> If you set the include_path in php3.ini to
> ../misc:../include or whatever include libraries you use you can do
> require("siteinfo,inc"); and php wiil find the file relative to the current
> site.
... or look at the Apache variabels that get set. This should do the trick:
require ($DOCUMENT_ROOT."/siteinfo.inc");
- colin
-- 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: David Norris: "RE: [PHP3] / Being Relative To The Domain?"
- Previous message: Colin Viebrock: "Re: [PHP3] crypt() question"
- In reply to: Frank M. Kromann: "Re: [PHP3] / Being Relative To The Domain?"
- Next in thread: Peter van Dijk: "Re: [PHP3] / Being Relative To The Domain?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

