Ciao grazie mille per lo script, anche se è un pò complesso per i miei standard.
Ho provato ad eseguire la classe, ma questa blocca la pagina e mi restituisce questo errore:
[06-Apr-2012 06:30:31 UTC] PHP Warning: file_get_contents() [function.file-get-contents]: Filename cannot be empty in index.php on line 1568
[06-Apr-2012 06:30:31 UTC] PHP Fatal error: Uncaught exception 'Exception' with message 'Il sorgente della pagina deve essere una stringa' in function.in.php:12
Stack trace:
#0 index.php(1568): htmlParser->__construct(false)
#1 index.php(3013): Page_All('3', 20)
#2 {main}
thrown in function.in.php on line 12