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.
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.
PHP 101: PHP For the Absolute Beginner
W3Schools - PHP Tutorial
Tizag - PHP Tutorial
PHPBuddy - PHP Tutorial
LearnPHP - PHP Tutorial
Quackit - PHP Tutorial
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)