note 60189 rejected from faq by nlopess

From: Date: Thu, 29 Dec 2005 10:38:15 +0000
Subject: note 60189 rejected from faq by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-100926@lists.php.net to get a copy of this message
Note Submitter: megh_b at yahoo dot com ---- I want to produce crystal report from PHP. I wrote that bellow code : $oApp = new COM ("CrystalRuntime.Application"); $oRpt = $oApp->OpenReport "C:\Inetpub\wwwroot\rptEL.rpt",1); $oRpt->MorePrintEngineErrorMessages = 0; $oRpt->EnableParameterPrompting = 0; $oRpt->RecordSelectionFormula = "{vLeaveEarned.Number} = 'xpk0501-95'"; $oRpt->PrintOut(false); // tried also with $oRpt->PrintOut(0) but i get an exception but came out with the error : CGI Error : The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: can anyone suggest me a solution please........?

« previous php.notes (#100926) next »