fellow experts,
im using php 5 on winxp sp2, IIS
1.) i tried this script (from http://fr2.php.net/manual/en/ref.com.php) and saved it as hello.php, placed it in wwwroot
<?php
$domainObject = new COM("WinNT://Domain");
foreach ($domainObject as $obj) {
echo $obj->Name . "<br />";
}
?>
i opened it on IE7 http://localhost/hello.php
then i get this error
PHP Fatal error: Maximum execution time of 30 seconds exceeded in C:\Inetpub\wwwroot\hello.php on line 3
so i change max_execution_time = 1000 in php.ini
on my 2nd try i got only
Schema
what the hell is that suppose to mean??? :glare:
2.) how do you determine what to place inside COM(<what to put?>), how do i know if its "something.something", where in my OS do i find the list of these COM? is there a way to list it?
3.) actually, im in a process of choosing a nice web making tool to convert an enterprise system built using VB into a web-base system, i am testing out PHP and one of the feature that im looking for is to call crystal reports 10 to
a.) generate report by passing parameters to a XXXX.rpt(CR report)
b.) save the report as a pdf or an excel file
c.) let the user download created file
i read that you cannot open a crystal report on your browser, im not sure tho, so i think its good if you just convert the report to something else and let the user download it.
thanks fellow experts
Jonga
web noobie
db expert