Re: [PHP] Includes inside includes

2003-12-21 Thread Website Managers.net
To call the file from anywhere within the document space, try this: include($_SERVER["DOCUMENT_ROOT"]."/common/setup.inc"); Jim - Original Message - From: "Robbert van Andel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, Decembe

[PHP] Includes inside includes

2003-12-21 Thread Robbert van Andel
I've written a class that is calling an include function to include a setup file. The problem is that the setup file is in another directory than the class. I'm including the file using: include ("../common/setup.inc"); Is there a way that i can make the relative path inside the class definitio