including files

From: Date: Mon, 13 Aug 2001 15:59:22 +0000
Subject: including files
Groups: php.windows 
Request: Send a blank email to php-windows+get-8813@lists.php.net to get a copy of this message
I know how to include files. I have a directory structure that looks like this: / /includes /includes/errors In the includes folder I have include files for things like my database. In the errors folder I have documents that I have instructed Apache to load as error docs, like error.404.php, error.401.php, etc. When someone calls up the page /index.php it works fine. But when someone gets a 404 the includes don't work so well because of the directory it's in. I *could* rereference the includes to "../" instead of "/includes" but my include files call for more include files and I can't change those references. Does this make any sense at all? Might I get some help on this question (I haven't on previous questions I've asked). Thank you all. Regards, Paul Smith -- Paul Smith psmith@dostuff.net http://www.dostuff.net

« previous php.windows (#8813) next »