Re: is_dir paths

From: Date: Mon, 26 Sep 2005 13:00:25 +0000
Subject: Re: is_dir paths
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-223182@lists.php.net to get a copy of this message
> > > what does the following output: > > > > > > var_dump (getcwd()); Sorry, this wasn't clear. I mean it outputs c:\...\htdocs\lists\admin Not sure about the permissions. I'm using windows 2000, and the 'temp' directory has the same user permissions as the rest of the htdocs folder > > what does the following output: > > > var_dump (realpath(getcwd())); > > var_dump (realpath('temp')); > > var_dump (realpath("/lists/admin/temp")); > That outputs (paths trimmed) string(56) "C:\...\htdocs\lists\admin" string(61) "C:\...\htdocs\lists\admin\temp" bool(false) var_dump (realpath("../../lists/admin/temp")); this outputs the same as var_dump (realpath('temp')); Does that help? Thanks Mark

« previous php.general (#223182) next »