Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: Including files from muliple sub dir's..Help please.


Message #1 by "Bill Bob" <bige88fan@c...> on Wed, 21 Aug 2002 00:07:13
Was this answered?  Sorry, it got lost in my email.


Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "Bill Bob" <bige88fan@c...>
To: "professional php" <pro_php@p...>
Sent: Wednesday, August 21, 2002 12:07 AM
Subject: [pro_php] Including files from muliple sub dir's..Help please.


> I am having a tiny problem. First let me give you my directory structure:
>
> Ok, basically I have 3 different dirs which I want to incloude from. I
> have a file called newdl.php in a /upload directory. I have a file called
> new5.php in the directory before /upload. And also I have a config.php
> file in /upload/admin. So this is the problem. What I am doing is through
> the new5.php file, including upload/newdl.php. But inside of newdl.php, I
> also include admin/config.php. When I include new5.php on a page in the
> same directory as the new5.php file, I get errors saying that it couldn't
> load the admin/config.php file. Whats up with this? Can I get around this?
> Thanks for your help!
>
> -Kyle.



  Return to Index