"PHP has a great many tools for interacting with a network and
also with the Internet. In this article, I examine some of those
tools and functions to show how exactly you can use them to make
your scripts more useful in a network environment. Click here to
download the accompanying source code.
"Accessing Other Websites with PHP
"Accessing other sites with PHP is extremely easy, but why would
you want to do that? If you just want to get information from a
website (for instance, a website that offers weather reports for a
city that is of interest to you), then you can write a spider to
get that information and more.
"In PHP, you access a website in pretty much the same way that
you would access a text file on your hard drive -- by using