On Tuesday 09 November 2004 17:09, Dave Lampron wrote:
> Hello I'm having problems with the following code:
>
> if (! ($dp = opendir($imagesdir))) die ("cannot open $imagesdir.");
> while($file = readdir($dp))
> {
> if ($file != '.' && $file != '..')
> {
>
> ///Second test doesn't seem
Hello I'm having problems with the following code:
if (! ($dp = opendir($imagesdir))) die ("cannot open $imagesdir.");
while($file = readdir($dp))
{
if ($file != '.' && $file != '..')
{
///Second test doesn't seem to catch sub-directories under $imagesdir
if(is_dir($file)) / Thi
2 matches
Mail list logo