tags:

views:

36

answers:

0

HI I want to open a doc file in the same format as it was uploaded in php so i think for this antiword will be used i tried but it is not working.I am working on windows xp and i downloaded antiword from http://www.informatik.uni-frankfurt.de/~markus/antiword/ I put extracted files into htdocs and then tried to call antiword by

$content = shell_exec('/antiword'.$row['File Name']);

and then i am displaying it into a textarea by

<textarea rows="50" cols="70" name="resume" ><?php echo $content; ?></textarea>

But it is not printing even a single character. Is /antiword a wrong path or something is misisng.In database File Name contain full adress of resume