Re: Opening a file outside of the root
If your file mydatabase.php is in a folder named 'Connections' of the root then there should be nothing wrong with using:
<?php require_once("Connections/mydatabase.php"); ?>
However, I always use double quotes in tese instances, as you can see.
__________________
Chris
There is no failure until you give up.
Last edited by Christiaan : 06-14-2007 at 06:21 PM.
|