I doubt it. I should have said that the php directory is inside my site directory (c:\bn\website). On 7/10/11, Jamal Mazrui <empower@xxxxxxxxx> wrote: > I wonder if this is a security related issue, where PHP is not allowing > use of files outside the root level of the particular web application space. > > Jamal > > On 7/10/2011 8:59 AM, Alex Hall wrote: >> I had not. I have since moved everything into one directory, just so I >> could keep working on the files, but I will see what an absolute path >> does instead of a relative one. >> >> On 7/10/11, Jared Wright<wright.jaredm@xxxxxxxxx> wrote: >>> Your syntax is correct. Have you tried providing an absolute path, just >>> to ensure that works? Then if it does you can narrow down why the >>> relative path isn't. >>> On 7/9/2011 10:03 PM, Alex Hall wrote: >>>> Hi all, >>>> A quick php question. In a case where you want to use include() or >>>> include_once() to include a file in a higher-level directory, how do >>>> you do it? For instance, if the main site directory holds a file >>>> called globals.php, and a file in the scripts folder (which itself is >>>> inside the main directory) wants to include globals.php, what is the >>>> syntax? I thought it would be: >>>> include("../globals.php"); >>>> to go up a level (..) and then select globals.php from that higher >>>> level. This, however, is not working. This is on the latest version of >>>> WAMP. Thanks, and I hope I made this clear enough. >>>> >>> >>> __________ >>> View the list's information and change your settings at >>> //www.freelists.org/list/programmingblind >>> >>> >> >> > -- Have a great day, Alex (msg sent from GMail website) mehgcap@xxxxxxxxx; http://www.facebook.com/mehgcap __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind