graham23s Posted June 24, 2008 Share Posted June 24, 2008 Hi Guys, I have been messing about with the curl functions and am quite impressed with the easiness of using curl, im writing a tiny search engine, but is there a way using curl to actually read the web page code? i.e toi get the information between the sites <title> tags for example? or would i need to use curl then another way to get the information? thanks guys Graham Link to comment https://forums.phpfreaks.com/topic/111638-curl-and-webpages/ Share on other sites More sharing options...
nashruddin Posted June 24, 2008 Share Posted June 24, 2008 Once you have fetched the page contents, use regular expression to extract its data. eg: <TITLE>,<META>,etc. See my tutorial on how to do this: http://www.nashruddin.com/parsing-tags-from-html-page.html Link to comment https://forums.phpfreaks.com/topic/111638-curl-and-webpages/#findComment-573369 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.