View Single Post
Old 17th February 2003, 04:39 PM   #9 (permalink)
dwilson
Registered User
 
Join Date: Nov 2002
Location: Kansas City MO
Posts: 549
Send a message via ICQ to dwilson Send a message via AIM to dwilson Send a message via Yahoo to dwilson
Re:mySQL and Linux newbie

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.

__________________
Derik Wilson
dwilson is offline   Reply With Quote