Hello..ia it possible to make a crystal report using php?please help

Recommended Answers

All 2 Replies

Apparently, it can be done but it isn't well documented or supported. One site suggested using the Com interface as follows:

$cr=new com("Crystal.CRPE.Application") or die("cannot load cr com");
$rn="/path/to/your/report.rpt";
$rap=$cr->OpenReport($rn);

I believe that the COM interface is strictly Windows so if your are on a Linux server???

I am using a Windows server...thank you for helping..any suggested sites?for other references?

thank you

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.