Re: Web Fetch & Process
| From: | raditha dissanayake | Date: | Sat, 04 Sep 2004 05:01:18 +0000 |
| Subject: | Re: Web Fetch & Process | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195807@lists.php.net to get a copy of this message | ||
Zoran wrote:
Hi How can I parse HTML page which I fetched by PHP so some part of text would be replaced by other text. As jim has pointed out strip_tags is a good first step. However I have always believed that the best language for parsing html is perl and not PHP that's because there is a perl module (name HTMLParse) available from CPAN that behaves somewhat like the sax parse api in PHP.-- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 128 KB | with progress bar.