Reputation: 63646
Is there a library for this task?
Upvotes: 6
Views: 1736
Reputation: 3710
There is no any direct method for PHP reading/writing CHM file.
This may help. :) http://savannah.nongnu.org/projects/hhm
Upvotes: 0
Reputation: 35993
Does it have to be PHP? If not, you might have a look at
http://en.wikipedia.org/wiki/Microsoft_Compiled_HTML_Help
Look for "Microsoft Help Workshop." ( http://www.microsoft.com/downloads/details.aspx?familyid=00535334-c8a6-452f-9aa0-d597d16580cc&displaylang=en )
A reverse engineering approach is done here: http://www.russotto.net/chm/chmformat.html
So you could look, if you find libraries for the several subproblems.
Upvotes: 3