Hi,
I'm trying to extract some summary file informations with IIS.
I've used a COM object, the Shell.Application, with the method GetDetailsOf.
Under asp the script is ok but with php the values of the informations are
null (empty).
The code is this, i want to print some summary information on the text.txt
file (i've insert some summary values on the properties file system, like
Author, Copyright, etc...):
$filesummary = new COM("Shell.Application") or die("COM Shell Application
Problem.");
$folder= $filesummary->Namespace (0);
$fileinfo= $folder->ParseName("C:\\test.txt");
for ($i=0; $i<33; $i++) {
print $i.") ".$folder->GetDetailsOf("",$i).":
".$folder->GetDetailsOf($fileinfo,$i)."<br>";
}
When i run this script only the first seven values is full, all the others
are null.
Regards
Enrico Zimuel
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php