CHM to HTML from PHP

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!

Moderator: General Moderators

Post Reply
jeeten
Forum Newbie
Posts: 6
Joined: Tue Mar 11, 2008 6:04 am

CHM to HTML from PHP

Post by jeeten »

I have a project in which I have to import .chm content and display it in the website. I am really confused... Is there any idea to do that from PHP. Plz help me. Its kind of urgent...
User avatar
Darhazer
DevNet Resident
Posts: 1011
Joined: Thu May 14, 2009 3:00 pm
Location: HellCity, Bulgaria

Re: CHM to HTML from PHP

Post by Darhazer »

You can use command-line utility via system() call to decompile the CHM file...
http://en.wikipedia.org/wiki/Microsoft_ ... ng_to_HTML
Or you can read the (unofficial) format documentation and write a script to convert:
http://www.russotto.net/chm/chmformat.html
jeeten
Forum Newbie
Posts: 6
Joined: Tue Mar 11, 2008 6:04 am

Re: CHM to HTML from PHP

Post by jeeten »

I need some PHP code...
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: CHM to HTML from PHP

Post by jackpf »

Learn to read.

Read Darhazer's links, and read up on shell_exec().
Post Reply