note 107871 deleted from book.curl by danbrown
| From: | danbrown@php.net | Date: | Thu, 10 May 2012 18:14:36 +0000 |
| Subject: | note 107871 deleted from book.curl by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-187741@lists.php.net to get a copy of this message | ||
Note Submitter: Jeff
----
There are numerous PHP methods of reading web pages. One might start by opening, reading and
closing. One might use file_get_contents. Stream options might be set up. Curl might be used.
Making sure that cookies are received and returned in an appropriate fashion might even be needed on
occasion. Etc.
But it has always been the case that I could find a PHP solution to read a web page.
While I did find a solution (and I have not needed to use "Tor" as a component), I am sad
to say I have not yet found a PHP solution. So . . .
Perhaps the challenge (for developers far younger than I) is to come up with several PHP solutions
to truly make the interactions between PHP and the web server (it is an IIS that is currently
winning the battle) appear to truly be from IE, Firefox, Chrome, Safari, etc.
There are no security issues. It is a public website. The robots meta tag is inviting - index,
follow.
Perhaps this would be a good summertime PHP project?