Re: [PHP] Attempting to use 'passthru' or 'exec' function

2005-01-23 Thread Jason Wong
On Monday 24 January 2005 05:08, Andre Dubuc wrote: > I'm trying to output a text file from a pdf file using an external > function, pdftotext, using either PHP's 'passthru' or 'exec' functions. > > The following code sort of works (at least I see localhost busy doing > something for about three s

RE: [PHP] Attempting to use 'passthru' or 'exec' function

2005-01-23 Thread Mikey
Have you tried using the backtick (``) operator? I don't know if it makes any difference, but it might be worth a try... HTH, Mikey -Original Message- From: Andre Dubuc [mailto:[EMAIL PROTECTED] Sent: 23 January 2005 21:08 To: php-general@lists.php.net Subject: [PHP] Attempting t

[PHP] Attempting to use 'passthru' or 'exec' function

2005-01-23 Thread Andre Dubuc
Hi, I'm trying to output a text file from a pdf file using an external function, pdftotext, using either PHP's 'passthru' or 'exec' functions. The following code sort of works (at least I see localhost busy doing something for about three seconds, but the expected output of 'content.txt' is