Search found 2 matches
- Wed Feb 16, 2005 6:49 pm
- Forum: PHP - Code
- Topic: Cannot call antiword from PHP using exec()
- Replies: 2
- Views: 787
I'm not that advanced with linux shell commands - is it the stdout when calling the app dumps output to the screen? In anycase, I've tried before to capture the output from exec and echo-ing it, but that also failed to produce anything. Here's the code I'm trying - the PHP script runs from the direc...
- Wed Feb 16, 2005 6:19 pm
- Forum: PHP - Code
- Topic: Cannot call antiword from PHP using exec()
- Replies: 2
- Views: 787
Cannot call antiword from PHP using exec()
Hi! I've set up a site part of which allows ppl to upload docs which I then try to parse to get any plain text out of them - PDF and Word DOC formats. I have two apps to do this - pdftotext and antiword - and I'm calling them with the PHP command exec() Both apps are in the same folder, they both re...