On 28 July 2011 18:06, Nilesh Govindarajan <contact@xxxxxxxxxxxx> wrote: > On 07/28/2011 05:43 PM, Paul Halliday wrote: > > I have a few scripts that use "../location/file" > > > > Is this interpreted differently on some systems? > > > > Thanks. > > > Use __DIR__."../location/file" otherwise files using these script can not be moved across folders. > > I have no idea about it, but I generally use realpath() to avoid any > such problems. Windows may have, because it uses backward slashes > instead of forward which are used in *nix (incl mac) > > -- > Regards, > Nilesh Govindarajan > @nileshgr on twitter/identica > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >