graham23s Posted June 21, 2007 Share Posted June 21, 2007 Hi Guys, is there a way to get the contents from a .doc file that's readable im using get_file_contents but it's coming out very weird: $filename = $renamed_cv; $content = file_get_contents("cvs/$filename"); $cv_for_mysql = mysql_real_escape_string($content); thanks for nay info Graham Link to comment https://forums.phpfreaks.com/topic/56581-parsing-a-doc-file/ Share on other sites More sharing options...
neel_basu Posted June 22, 2007 Share Posted June 22, 2007 .doc files are Binary Files. those are not text file. Link to comment https://forums.phpfreaks.com/topic/56581-parsing-a-doc-file/#findComment-279839 Share on other sites More sharing options...
cooldude832 Posted June 22, 2007 Share Posted June 22, 2007 i.e we had this discuss already you need some massive libarires to read it unless php 5 has functions for it which it might i'm still on 4 Link to comment https://forums.phpfreaks.com/topic/56581-parsing-a-doc-file/#findComment-279841 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.