[thelist] PHP require_once links not working?

Paul Bennett Paul.Bennett at wcc.govt.nz
Thu Aug 17 16:25:29 CDT 2006


Often you need to use the full server path to get includes to work faultlessly.

Try things like:
require_once($_SERVER['DOCUMENT_ROOT'].'/full/path/to/file.php');

I'm not sure I fully understand what you're saying in your post with regards to inside / outside.
Can you post the error message it produces?

Paul



More information about the thelist mailing list