PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I need to convert HTML files to doc, text, pdf or rtf dynamically. I have tried using fpdf but the resulting pdf document has no formatting. I used strip_tags to convert to text but again the same formatting problem. I need something that i can integrate with my program. I have a LINUX server so can't use COM.
It's not possible unless you write an HTML parser in PHP. Some people have tried .. I've never seen one that actually works though. HTML is really, really complicated.