FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


XML/HTML parsing in PHP





akshar
I need to do following in PHP
Request a remote web page, fetch all the links and then fetch all the links on the target of those links and go on...
I guess I will have to parse the html document as a XMl using DOM or SAX
Can any one suggest me some pointers??
alalex
I can advise you to use a great php class that will very easily do just that:
http://www.phpclasses.org/browse/package/4441.html
Just download and use it. It comes with some example files, so that shouldn't be a problem.
I've already used it in several projects, so ask me if you run into any problems.
AOP Web Development
you can try to use SimpleXML class for parsing XML DOCUMENTS
Related topics
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.