View Single Post
  #4 (permalink)  
Old 06-14-2007, 05:18 PM
LinksAndTraffic LinksAndTraffic is offline
WebProWorld Member
 

Join Date: Jul 2006
Location: Stillwater, Oklahoma
Posts: 61
LinksAndTraffic RepRank 0
Default Re: Opening a file outside of the root

Quote:
Originally Posted by dak888 View Post
Hey hostBrain,

1. The page with the code is in the root.
2. The folder does have a capital "c". The file names are matched as they should be.
3. No errors what so ever. Just a blank page. Also, when I view the source, there is no source code at all (completely blank).
4. I don't want that file in the root as it contains sensitive information.

Thanks,

DaK
Instead of loading your file path name like this:
../Connections/mydatabase.php

Try putting the full path from your server root
to your db file.
__________________
Bill Platt - Owner http://thePhantomWriters.com and http://www.ReprintWriters.com
Consider my Article Marketing Ebook, which is getting great reviews.
Reply With Quote