View Single Post
  #2 (permalink)  
Old 06-13-2007, 04:12 PM
hostBrain hostBrain is offline
WebProWorld Pro
 

Join Date: May 2007
Location: DataCenter
Posts: 174
hostBrain RepRank 1
Default Re: Opening a file outside of the root

Hi,
I'm assuming that the page you are putting this code in, is in your root directory?
Is the actual database folder with a capital c or small-case c (case-sensitivity)?
Are you getting any errors?

Also, why not try putting the Connections folder in the root directory, then change the code to
Quote:
<?php require_once('Connections/mydatabase.php'); ?>
__________________
----Don't Call Me Brian----
Reply With Quote