RE: [PHP] include_path
| From: | Maxim Maletsky | Date: | Mon, 09 Apr 2001 10:05:24 +0000 |
| Subject: | RE: [PHP] include_path | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-47758@lists.php.net to get a copy of this message | ||
You should use this:
(from my Development Machine:)
include_path = ".;D:\includes;D:\htdocs\;D:\htdocs\phpmyadmin" ;
UNIX: "/path1:/path2" Windows: "\path1;\path2"
Note the dot at the beginning of the string - that's your solution
Cheers,
Maxim Maletsky
www.PHPBeginner.com
-----Original Message-----
From: Jimmy Bäckström [mailto:broder_b@chello.se]
Sent: Monday, April 09, 2001 6:52 PM
To: PHP General List
Subject: [PHP] include_path
eyo!
I was wondering if it is possible to have the include_path directive in
php.ini (I am using win98) pointing to path so that a file in an underlying
dir, also can be included? I have tried to set the include_path to
c:\program\apache\htdocs so that I can have all the files in the webroot
included in any file. But it does not work, please help!