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 Quote 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. Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/56581-parsing-a-doc-file/#findComment-279841 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.