Re: [PHP] require_once('') relative path problem

2004-04-22 Thread Torsten Roehr
> > > >From: "Sheeraz fazal" <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: [PHP] require_once('') relative path problem > >Date: Thu, 22 Apr 2004 14:34:23 -0600 > > > >Hi, > >I have problem in undertanding the > >

Re: [PHP] require_once('') relative path problem

2004-04-22 Thread Nikolay Bachiyski
Hello, Just imagine you had just copied the file you want to include and then pasted it into the master file. PHP does not any path translation. For example if you have the following structure: - / -- a.php -- b.php -- /utils c.php d.php Let c.php is included in a.php. Then if you want

Re: [PHP] require_once('') relative path problem

2004-04-22 Thread Jordi Canals
Curt Zirzow wrote: * Thus wrote Sheeraz fazal ([EMAIL PROTECTED]): Hi, I have problem in undertanding the require_once/require/include/include_once functionality. Php files in my project are located in different folders. Some folders have common files for other files. And file layout is like this

Re: [PHP] require_once('') relative path problem

2004-04-22 Thread Richard Harb
did you check the online manual for those funcitons yet? I have found the user notes to be a wealthy ressource on that matter. This topic also came up very recently on this list so checking the archives might solve it. Richard Thursday, April 22, 2004, 10:34:23 PM, thus was written: > Hi, > I

Re: [PHP] require_once('') relative path problem

2004-04-22 Thread Curt Zirzow
* Thus wrote Sheeraz fazal ([EMAIL PROTECTED]): > Hi, > I have problem in undertanding the require_once/require/include/include_once > functionality. Php files in my project are located in different folders. > Some folders have common files for other files. And file layout is like this Include fil

RE: [PHP] require_once('') relative path problem

2004-04-22 Thread Tyler Replogle
page is) From: "Sheeraz fazal" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [PHP] require_once('') relative path problem Date: Thu, 22 Apr 2004 14:34:23 -0600 Hi, I have problem in undertanding the require_once/require/include/include_once functionality. Php fil

[PHP] require_once('') relative path problem

2004-04-22 Thread Sheeraz fazal
Hi, I have problem in undertanding the require_once/require/include/include_once functionality. Php files in my project are located in different folders. Some folders have common files for other files. And file layout is like this /* File: a.php */ require_once('../test/db.php'); ... /* File