Jocka Posted November 15, 2006 Share Posted November 15, 2006 DOC TO HTML is my intentions.. no longer about php type libraries.I need a DOC file to become an HTML file. I can do the opposite quite easily but reading the doc files seems damn near impossible.I've found a couple of php scripts but they don't seem to do much really. I've tried them and they don't work so I'm not sure what's going wrong. One of them read the file based on hex values. I'm HEX retarded. I don't know how all that works.There has to be an easy way to do this without having to pay some other PHP programmer to do this for me. Please help me.. Link to comment https://forums.phpfreaks.com/topic/27295-doc-to-html/ Share on other sites More sharing options...
fert Posted November 15, 2006 Share Posted November 15, 2006 php.net should have them Link to comment https://forums.phpfreaks.com/topic/27295-doc-to-html/#findComment-124818 Share on other sites More sharing options...
Jocka Posted November 15, 2006 Author Share Posted November 15, 2006 where? I looked all over it . I went to the download section then searched the site but I'm not finding anything. I'll keep looking though. Link to comment https://forums.phpfreaks.com/topic/27295-doc-to-html/#findComment-124819 Share on other sites More sharing options...
trq Posted November 15, 2006 Share Posted November 15, 2006 Turning a .doc file into html is definately not part of the php core language. MS's .doc format is one of the most foobar'd markups around. It follows no standard at all!Having said that though, there are a few people just foobar'd enough to still want to use it, if you search hard enough (and in all the wrong places) you may find a solution. Link to comment https://forums.phpfreaks.com/topic/27295-doc-to-html/#findComment-124823 Share on other sites More sharing options...
Jocka Posted November 15, 2006 Author Share Posted November 15, 2006 lol well how I'm starting to understand (may be wrong) a .doc file is almost an HTML file. Same general idea. Thats what i've read so far. I have no problem MAKING the .doc file but reading it is a little trickier.. Link to comment https://forums.phpfreaks.com/topic/27295-doc-to-html/#findComment-124828 Share on other sites More sharing options...
trq Posted November 15, 2006 Share Posted November 15, 2006 [quote]but reading it is a little trickier[/quote]That my friend is an understatement. At least Html has a standard you can follow. MS really know how to toy with stuff. Link to comment https://forums.phpfreaks.com/topic/27295-doc-to-html/#findComment-124831 Share on other sites More sharing options...
Jocka Posted November 15, 2006 Author Share Posted November 15, 2006 lol. I just ripped open a .doc file I made and it's very simple.. then I ripped one open I made in openoffice.. .. long story short, WTF?! How can these two files be completely different? Same information and everything but completely different code. Link to comment https://forums.phpfreaks.com/topic/27295-doc-to-html/#findComment-124835 Share on other sites More sharing options...
trq Posted November 15, 2006 Share Posted November 15, 2006 Short answer. Closed standards. Link to comment https://forums.phpfreaks.com/topic/27295-doc-to-html/#findComment-124837 Share on other sites More sharing options...
Jocka Posted November 15, 2006 Author Share Posted November 15, 2006 there HAS to be a way to read it. Like monster.com can read doc files and create them. That's all I want done.If I can find a way to delete the freakin squares I can read this but my text editor won't let me.. Link to comment https://forums.phpfreaks.com/topic/27295-doc-to-html/#findComment-124839 Share on other sites More sharing options...
Jocka Posted November 15, 2006 Author Share Posted November 15, 2006 i take that back.. deleted the squares and still can't find a pattern I can read by.. jesus this is too much. Maybe I can find something to erase the symbols and all the b/s in there and just read the words and code. Link to comment https://forums.phpfreaks.com/topic/27295-doc-to-html/#findComment-124841 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.