Ok, im using this script
http://www.phpbuilder.com/snippet/detail.php?type=snippet&id=416
id just want to change it from
$currentdir = getcwd ();
to
$currentdir = chdir ("images/mingoffice");
or
$currentdir = readdir ("images/mingoffice");
But it keeps erroring out
"Warning: opendir(1) [function.opendir]: failed to open dir: Invalid argument in C:\web\ching\images\mingoffice\index.php on line 25
Warning: readdir(): supplied argument is not a valid Directory resource in C:\web\ching\images\mingoffice\index.php on line 26
"
Any ideas?
Thanks in advanced!
Aaron