note 107871 added to book.curl
| From: | Jeff | Date: | Mon, 12 Mar 2012 02:07:52 +0000 |
| Subject: | note 107871 added to book.curl | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-186604@lists.php.net to get a copy of this message | ||
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?
----
Server IP: 64.71.164.2
Probable Submitter: 98.219.13.182
----
Manual Page -- http://www.php.net/manual/en/book.curl.php
Edit -- https://master.php.net/note/edit/107871
Del: integrated -- https://master.php.net/note/delete/107871/integrated
Del: useless -- https://master.php.net/note/delete/107871/useless
Del: bad code -- https://master.php.net/note/delete/107871/bad+code
Del: spam -- https://master.php.net/note/delete/107871/spam
Del: non-english -- https://master.php.net/note/delete/107871/non-english
Del: in docs -- https://master.php.net/note/delete/107871/in+docs
Del: other reasons-- https://master.php.net/note/delete/107871
Reject -- https://master.php.net/note/reject/107871
Search -- https://master.php.net/manage/user-notes.php