[vox-tech] php and including with absolute paths
Peter Jay Salzman
p at dirac.org
Tue Jan 17 10:57:47 PST 2006
Is it possible to ask PHP to include/require files with an absolute pathname
rather than pathname relative to PHP's search path? I'd like to do
something along the lines of:
require_once('/www/foo/bar.php');
As far as I can tell, these functions only look for files relative to the
PHP include path which is often, but not always, convenient.
Thanks,
Pete
More information about the vox-tech
mailing list