Re: Chocked
- From: johannes@xxxxxxxxxxxxxx (Johannes Lindenbaum)
- Date: Thu, 28 Dec 2006 21:24:02 -0600
I think this is correct:
Let's just assume for a minute that in your index.php you echo out getcwd();
Output would be / (only an example)
According to that you do the following include:
include("./classes/first.class.php");
If you were to echo getcwd() after the include in the first.class.php it would output /
You would then have to include your second class (inside the first.class.php - correct?) as:
include("./classes/second.class.php")
to make it a "correct" include without PHP having to search the directories for the include.
Give that a shot.
Regards,
Johannes
.
- Follow-Ups:
- RE: [PHP] Re: Chocked
- From: "Peter Lauri"
- RE: [PHP] Re: Chocked
- Prev by Date: Re: [PHP] Chocked
- Next by Date: 403 Forbidden
- Previous by thread: Re: [PHP] Chocked
- Next by thread: RE: [PHP] Re: Chocked
- Index(es):
Relevant Pages
|