Parsing html
Posted: Sat Aug 09, 2008 2:02 am
Ok, any ideas how to solve this:
Trying to parse HTML page by tags, the first one works great:
But then the problem..
The server my files are running, is php 5.2.6, and that additional 'true' handler was added to 5.3.0..
Any ways to go around it? How to do it another way?
Trying to parse HTML page by tags, the first one works great:
Code: Select all
$match = stristr($content, '<body>');Code: Select all
$match2 = stristr($content2, '</body>', true);Any ways to go around it? How to do it another way?