how can i strip formatting from word document using php
- by shazia
I want to display a word file and then extract the content and display it in a separate textarea. i want to do away with the formatting as well.
this is what i get when i get the read the text file using php
??????ÿÿÿÿ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Running
Head: INTERNATIONAL BUSINESS
International Business [Name of the
writer] [Name of the institution]
International Business Question 1
Increasing returns to scale (or
economies of scale) in production is
an indisputable phenomenon
characterizing real world production,
and, as such, they have long been
recognized as a principal source of
economic prosperity. Nonetheless, they
have never played a major role in
this is the code
$fh = fopen($newname, 'r');
$contents => fread($fh, filesize($newname));
fclose($fh); unlink($newname); echo
"<br/>"; echo $contents;
how can i get rid of all these charecters.
Thanks