Article:
  Working with Files in PHP, Part 3
Subject:   dir class
Date:   2004-11-05 18:22:58
From:   Tyrrael
Response to: dir class

Its kind of simple, my guess its that it depends on PHP version, por PHP 4 just remove the creation of the class thats NEW
from:
$mydir = new dir('/path/to/mydir');


to:
$mydir = dir('/path/to/mydir');