[PHP] file_get_contents works in base script but not in an included script

2009-05-18 Thread LinuxManMikeC
In PHP4, I am using file_get_contents('file.sql',true) to bring in SQL queries from files who's directory is on the include path. It works fine in the main php scripts (ones accessible through URLs), but when done in a php script that is included by one of the main scripts I just get false

Re: [PHP] file_get_contents works in base script but not in an included script

2009-05-18 Thread Paul M Foster
On Mon, May 18, 2009 at 03:54:31PM -0600, LinuxManMikeC wrote: In PHP4, I am using file_get_contents('file.sql',true) to bring in SQL queries from files who's directory is on the include path. It works fine in the main php scripts (ones accessible through URLs), but when done in a php script