Re: [PHP] include_path and absolute paths in include functions

2006-05-11 Thread Richard Lynch
On Thu, May 11, 2006 3:17 pm, Steven Stromer wrote: > For years I was lulled into thinking I understood php include > functions... > > I have always used relative paths in my include and related functions, > for instance: > include_once ("lib/included.php"); > > However, I am now needing to switch

Re: [PHP] include_path and absolute paths in include functions

2006-05-11 Thread D. Dante Lorenso
Steven Stromer wrote: For years I was lulled into thinking I understood php include functions... I have always used relative paths in my include and related functions, for instance: include_once ("lib/included.php"); However, I am now needing to switch to absolute paths: include_once ("/lib/in

Re: [PHP] include_path and absolute paths in include functions

2006-05-11 Thread Jochem Maas
Steven Stromer wrote: For years I was lulled into thinking I understood php include functions... I have always used relative paths in my include and related functions, for instance: include_once ("lib/included.php"); this is what should work given you ini path. maybe check the file permissio

[PHP] include_path and absolute paths in include functions

2006-05-11 Thread Steven Stromer
For years I was lulled into thinking I understood php include functions... I have always used relative paths in my include and related functions, for instance: include_once ("lib/included.php"); However, I am now needing to switch to absolute paths: include_once ("/lib/included.php"); This do