Wierd. All I am doing is:
(The calling script)
Code:
require ($_SERVER["DOCUMENT_ROOT"] . '/somedir/someotherdir/includes.php');
(the includes.php)
Code:
include ($_SERVER["DOCUMENT_ROOT"] . '/somedir/someotherdir2/config.php');
include ($_SERVER["DOCUMENT_ROOT"] . '/somedir/someotherdir2/mysql_connect.php');
It worked when I did the includes in the script that used those paths. I would really like to have a global include so that I will have access to everything I need up front. I suppose that this isn't very efficent anyway since this project could grow in size pretty quickly once I get the newbie stuff out of the way.