--- In [email protected], "Jim Byrne" <[EMAIL PROTECTED]> wrote: > > Hi, > > Any ideas why the following line isn't working: > > include_once('../../configs/config.php'); > > The line doesn't throw an error - but it doesn't seem to include the > config.php file in the script either. It is pointing to the correct > location of the file. > > Any ideas? Am I misunderstanding something fundamental? > > Thanks. > > Jim >
Checked the PHP documentation and it seems I need to use the following: include_once (realpath(dirname(__FILE__) . "/" . "../../configs/config.php")); Does that seem right? All the best, Jim
