a. It is considered more standard to start a PHP file with "<?php" rather than just "<?". There are some installations that recognize only the former.
b. In html2text.inc, there should be a default definition "var $iInText = false;" (line 32).
c. In html2text.inc, there should be a closing "?>" at end of file.
d. In htmlparser.inc, at the end, there is a redundant "php".
All these typos caused the example to break on my system.
Log in to post a comment.