In this new post to the Ask About PHP blog they take a look at one of the basics of using PHP - fetching the data from a remote URL via the cURL extension.
In PHP, there are actually four ways to access a remote URL - fopen() fsockopen(), cURL extensions and HTTP_Request class from the PEAR library.
Now, choosing one way over another really depends on your needs for simplicity, control, and portability. Generally, I prefer...
Post new comment