Readers like you help support MUO. When you make a purchase using links on our site, we may earn an affiliate commission. Read More.

I am a rank beginner in PHP scripting. I want to build a web crawler that will find each internal link on a given website and place its information into an XML file. I want to capture each link's name and its URL reference.

Jeff Fabish
2011-12-01 22:34:00
Hi Jerry,No. I will not write the code for you, however James Bruce wrote an excellent article on building a PHP web crawler ( part 2 ). I've included a list of PHP learning resources below. If I were you, I would start a little simpler. There are plenty of open source web crawlers of which you may 'borrow' the source from.
MAKEUSEOF VIDEO OF THE DAY
SCROLL TO CONTINUE WITH CONTENT
PHP 101: PHP For the Absolute Beginner W3Schools - PHP Tutorial Tizag - PHP Tutorial PHPBuddy - PHP Tutorial LearnPHP - PHP Tutorial Quackit - PHP Tutorial KillerPHP (non-free) Lynda.com - PHP Tutorials (non-free) VTC.com - PHP Programming: The Basics Tutorials (non-free) VTC.com - Real World Programming With PHP 5 Tutorials (non-free) VTC.com - PHP Tutorial (non-free)- Jeff