Snoopy - new PHP class
| From: | Andrey Zmievski | Date: | Fri, 20 Aug 1999 17:58:59 +0000 |
| Subject: | Snoopy - new PHP class | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-10038@lists.php.net to get a copy of this message | ||
Monte Ohrt wrote a new PHP class called Snoopy which implements web client
functionality, like fetching pages and submitting forms.
Some of Snoopy's features:
* easily fetch the contents of a web page
* easily fetch the text from a web page (strip html tags)
* easily fetch the the links from a web page
* supports proxy hosts
* supports basic user/pass authentication
* supports setting user_agent, referer, cookies and header content
* supports browser redirects, and controlled depth of redirects
* expands fetched links to fully qualified URLs (default)
* easily submit form data and retrieve the results
On the TODO list:
* fetch other types of protocols such as ftp, nntp, gopher, etc.
* post forms with http file upload (I didn't have this need,
but it should be fairly straightforward)
* expand links, image tags, and form actions to fully
qualified URLs
-Andrey
* Only 19,999 lines of C++ to my next ski trip... *