krabu Posted August 4, 2010 Share Posted August 4, 2010 Hi, I need to get links from a web page and display them. User enters a url say abcxyz.com and all the links present on the page abcxyz.com will be displayed. How can i do this? Thanks. Link to comment https://forums.phpfreaks.com/topic/209809-get-links-from-a-web-page/ Share on other sites More sharing options...
AdRock Posted August 5, 2010 Share Posted August 5, 2010 you need to explain a bit better than that. How is the user entering the urls? in a form? Where are the urls being saved? database? text file? Link to comment https://forums.phpfreaks.com/topic/209809-get-links-from-a-web-page/#findComment-1095542 Share on other sites More sharing options...
dolrichfortich Posted August 5, 2010 Share Posted August 5, 2010 There are many php scripts for this on the web. Try this one. http://www.merchantos.com/makebeta/php/scraping-links-with-php/ Link to comment https://forums.phpfreaks.com/topic/209809-get-links-from-a-web-page/#findComment-1095552 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.