sheldonlg wrote:
sskaje wrote:
>On 11ÔÂ13ÈÕ, ÉÏÎç2ʱ46·Ö, sheldonlg <sheldonlgwrote:
>>I am running in an environment making heavy use of AJAX. I get the
error message "invalid flag after regular expression" after doing the
php command:
exec($command);
where
$command = 'fop/fop.sh -xml a.xml -xsl a.xsl -pdf z.pdf';
The error message shows up when I look in firebug.
I have googled for this and have search the AJAX code (and other code)
to find the source of this message with no success. Can someone point
me in the right direction?
Could this possibly be coming from the fop.sh?
that must be
cos you only have a string not regex executed in exec();
????
$command = 'fop/fop.sh -xml a.xml -xsl a.xsl -pdf z.pdf';
exec($command);
>maybe you can access the file directly or debug just to check where
error messages printed
The xsl and xml generate the pdf properly when doing the fop by hand.
Shelly,
When you are running it by hand, are you doing it from the same
directory and with the same userid as the PHP script is running?
IOW, are you duplicating the exact environment of PHP?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================