Re: readdir

From: Date: Fri, 16 May 2003 19:53:08 +0000
Subject: Re: readdir
Groups: php.general 
Request: Send a blank email to php-general+get-147971@lists.php.net to get a copy of this message
Shaun wrote: > Hi, > > using the code from php.net i am reading the contents of a directory, how > can i modify this so it reads the contents of the directory above the > current one? > > <?php > if ($handle = opendir('.')) { ^ . Means current dir, .. parent ;-) >Thanks for your help johannes

« previous php.general (#147971) next »