G
goomania
My php script is to call Perl program which makes use of
Spreadsheet:arseExcel module to parse Excel file. I am able to launch
php script from command line so that Perl program run and properly
parse Excel file. However, when I put php script on server side and
then launch php through client request, perl program can't run.
My server does have Spreadsheet:arseExcel module and Perl installed.
Indeed I ran the Perl program that uses Spreadsheet:arseExcel module
on command line on server machine, and it ran smoothly. However, when I
called the same Perl program from PHP (using exec()) through web
request, Perl program can't run (but PHP produced no error message to
the client browser). I got rid of "use Spreadsheet:arseExcel;" in
Perl program, and then call the modified Perl program from PHP through
web request, the Perl program ran smoothly.
Not only this happened when I include Spreadsheet:arseExcel module,
but also for modules like Tk. Whenever I use Tk or Tk:ialogBox
modules, the Perl program can't run properly when I call it through web
request even though they run perfectly from the command line on the
same server machine.
Any suggestion re how to fix this problem? Thanks a lot,
-Ying
Spreadsheet:arseExcel module to parse Excel file. I am able to launch
php script from command line so that Perl program run and properly
parse Excel file. However, when I put php script on server side and
then launch php through client request, perl program can't run.
My server does have Spreadsheet:arseExcel module and Perl installed.
Indeed I ran the Perl program that uses Spreadsheet:arseExcel module
on command line on server machine, and it ran smoothly. However, when I
called the same Perl program from PHP (using exec()) through web
request, Perl program can't run (but PHP produced no error message to
the client browser). I got rid of "use Spreadsheet:arseExcel;" in
Perl program, and then call the modified Perl program from PHP through
web request, the Perl program ran smoothly.
Not only this happened when I include Spreadsheet:arseExcel module,
but also for modules like Tk. Whenever I use Tk or Tk:ialogBox
modules, the Perl program can't run properly when I call it through web
request even though they run perfectly from the command line on the
same server machine.
Any suggestion re how to fix this problem? Thanks a lot,
-Ying