Re: [PHP] ini_set('include_path') and require_once()

2004-08-26 Thread John Nichel
BigSmoke wrote: Hi, In the following code, require_once() borks, complaining: "Failed opening required 'includes/companies.php' (include_path='.:..')" """ ini_set("include_path", "../../php"); require_once('includes/common.php'); require_once('includes/validate.php'); require_once('includes/company

Re: [PHP] ini_set('include_path') and require_once()

2004-08-26 Thread Jim Grill
The error message hints that something is wrong with your include path. "(include_path='.:..')" Also, when you say `ini_set("include_path", "../../php")` you are overwriting the entire include path rather than appending your path to it. Try this: I would use the full system path rather than a