Menu

#1 BowML does not work with >PHP4.3

open
nobody
None
9
2004-08-02
2004-08-02
No

The function get_file_contents which loads the text
contents from a markup language document is not
implemented in PHP-versions prior to PHP4.3.

To solve the problem: go to the BowHTMLParser class
and change the call to
the function get_file contents located in the constractor.
Change the row:
$this->contentsSet(file_get_contents
($aHTMLFile));
to:
$this->contentsSet(implode ('', file
($aHTMLFile)));

An error message might be shown if the webhost runs in
safe_mode. But that is not something we cand do
anything about..

Discussion


Log in to post a comment.

MongoDB Logo MongoDB