Hi,
Could anyone please help me?
The exec command from PHP does not return anything on win xp with IIS.
This is my code:
$command='M:\gs\gs8.00\lib\ps2ascii M:\gs\gs8.00\lib\a.pdf'
exec($command,$resultArray,$rv);
The application “'M:\gs\gs8.00\lib\ps2ascii” works fine from the command line.
It displays the output(text extracted from a pdf file) in the dos box. The goal is to get this output in a array in php.
With exec I get an empty $resultArray.
Does anyone know a solution?
(I am getting desperate)
Thanks in advance,
Charles.
cvlug@xs4all.nl
exec() on Windows XP and IIS
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK