require include
| From: | Richard Baskett | Date: | Wed, 09 Apr 2003 01:20:06 +0000 |
| Subject: | require include | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-142981@lists.php.net to get a copy of this message | ||
Ok it used to be that when you included a file.. let's say
web structure
/www/public_html/
a file called index.php in web root
/www/public_html/index.php
would include template/temp.php
/www/public_html/template/temp.php
and temp.php would include a web root file called next.php
/www/public_html/next.php
but for some reason temp.php is looking for the file within it's own
directory instead of the directory that the original file, index.php, doing
all the including is in.. Is there something I need to set in php.ini to
get it to do this? Im not even sure what to google for this problem..
normally if it was my own script I would program for this, but since this is
in a packaged deal.. I would hate to go through the entire thing and edit
all the scripts..
Thanks!
Rick
"Let us live as people who are prepared to die, and die as people who are
prepared to live." - James S. Stewart