Re: problem with include/require

From: Date: Sun, 11 Mar 2001 12:05:20 +0000
Subject: Re: problem with include/require
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-43379@lists.php.net to get a copy of this message
Hi Yasuo, Thanks for the reply, but yes I do know that the include_path in php.ini should have the entries. But is this something new? I want to know how to allow including and requiring files just like we used to do in PHP3! For instance, let us say that we have two software programs on the server which are completely unrelated (I use Windows platform, so here it is): c:\apache\htdocs\software1\includes c:\apache\htdocs\software2\includes Now with the latest PHP I have to include both these above paths in my PHP.INI's "include_path" directive. is there a way to avoid this, and only include the "c:\apache\htdocs"? Yes, I know that I can make a common INCLUDES folder, but come on lets be practical. It is a lot cleaner if we can have an include folder INSIDE the software-specific folder. Any ideas would be greatly appreciated! Thanks/Erick --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.237 / Virus Database: 115 - Release Date: 07-Mar-01

« previous php.general (#43379) next »