Re: [SLUG] PHP Tidy

2005-05-25 Thread Rick Welykochy
Matthew Davidson wrote: I can't think of what the problem is, though. I've tried using the original stand-alone tidy program with no problems. I've tried installing slighty older versions of the tidy libs, and it makes no difference. If you cannot get this working using a direct PHP call,

Re: [SLUG] PHP Tidy

2005-05-25 Thread Matthew Davidson
Menno Schaaf wrote: http://au.php.net/tidy See example two: Basic Tidy Usage That's using the OO interface which I understand only works with php5 and tidy 2.0. It gives me a "Fatal error: Cannot instantiate non-existent class: tidy" message. I'm using php 4.3.10 and tidy 1.1. I hav

Re: [SLUG] PHP Tidy

2005-05-25 Thread Menno Schaaf
http://au.php.net/tidy See example two: Basic Tidy Usage On 5/25/05, Matthew Davidson <[EMAIL PROTECTED]> wrote: > Hi, > > I want to manipulate some HTML code with PHP, and it appears the tidy > extension is the way to do it. I have installed everything by the book: > > # apt-get install l

[SLUG] PHP Tidy

2005-05-25 Thread Matthew Davidson
Hi, I want to manipulate some HTML code with PHP, and it appears the tidy extension is the way to do it. I have installed everything by the book: # apt-get install libtidy0 libtidy-dev # pear -v install tidy and added 'extension=tidy.so' to php.ini. phpinfo() reports that the extension is l