[BlueOnyx:11889] Re: PHP include files

Larry Smith lesmith at ecsis.net
Thu Jan 3 07:37:43 -05 2013


On Thu January 3 2013 03:32, Steven Howes wrote:
> On 2 Jan 2013, at 17:50, Larry Smith wrote:
> > His index.php file has:
> >> <?php include '/includes/footer.php'; ?>
>
> Surely it should be 'includes/footer.php' unless you let customers upload
> to the root of your filesystem?... Remove the leading slash and I suspect
> it will work.
>

Tried that, also tried turning on Allow URL open and Allow URL include
in the PHP GUI and changing it to the site full URL (for their local includes
directory) but still get errors.  I had presumed the leading slash pointed
to their web space, but tried dot slash with the includes being in the same
directory and still does not work.

-- 
Larry Smith
lesmith at ecsis.net



More information about the Blueonyx mailing list