I am trying to run a Crystal Report accessing data in a MYSQL database in PHP. Although my desktop machine is W2K our PHP server is LINUX
PHP:
$crapp = new COM("CrystalRuntime.Application.11"); or die("cannot load cr com");
$my_report="C:\reports\report1.rpt";
$creport = $crapp->OpenReport($my_report,1);
I get the error FATAL error: Cannot instantiate non-existent class: com in /srv/www/htdocs/blah blah blah
any ideas on how to get around this. The other application developer here tells me that I can't use Com to call Crystal Reports because it is for PHP on Windows only.
I tried looking at the SOAP libraries but got totally lost.
Crystal Report in PHP
Moderator: General Moderators