Re: is_dir paths

From: Date: Mon, 26 Sep 2005 12:52:09 +0000
Subject: Re: is_dir paths
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-223181@lists.php.net to get a copy of this message
> > what does the following output: > > > > var_dump (getcwd()); This outputs a fully qualified path to the current working directory (/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 foler > > I have better question: > > 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) Does that help? Thanks Mark

« previous php.general (#223181) next »