the include path usually starts with '.' (current directory) so the
script will look for a relative URL first, this should work (if '../inc'
is in your document root):
include ("../inc/quotes/common.php");
if 'inc' is the directory that you have set up as your include path then
your script should look like this:
include ("quotes/common.php");
joe
Ross Riley wrote:
Quote:
The php include path is often different to the normal document root. Make an
info file called info.php that contains just the following... <?php
phpinfo();?> Upload and run this file to see what the value of PHP Include Path
is. Often it's just one step outside the web root so you may need to go down
another level..... ie. <?php include ('/www/inc/quotes/common.php'); ?> Ross |
--
=================================
Kanzo Limited
www.kanzostudio.com
=================================