Login   Register  
PHP Classes
elePHPant
Icontem

Browser

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Jon Gjengset
Name: Jon Gjengset is available for providing paid consulting. Contact Jon Gjengset .
Packages: 10 Browse all classes by Jon Gjengset Browse all classes by
Country: Norway Norway - PHP jobs in Norway
Age: 23
All time rank: 2331 in Norway Norway
Week rank: 296 Down2 in Norway Norway Down
Innovation award
Innovation award
Nominee: 3x


  Detailed description   Download .zip .tar.gz  
This class can be used to retrieve Web pages emulating a browser.

It can retrieve a given page, parse it and proceed retrieving the pages or content that would result of clicking on given links or submitting forms in the initial page.

The class provides functions to locate the links to click or form to submit either specifying a Xpath expression or searching page elements by attribute.

  Classes of Jon Gjengset  >  Browser  >  Download .zip .tar.gz  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Browser
Base name: browser
Description: Retrieve Web pages emulating a browser
Version: 1.0
PHP version: 5.0
License: Freely Distributable
All time users: 1709 users
All time rank: 2044
Week users: 1 user
Week rank: 2150 Down
 
  Groups   Rate classes User ratings   Dependencies  
  Trackback   Applications   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image Testing Tools to help verifying that software works as expected View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
June 2009
Number 3

Prize: One book of choice by Manning
Sometimes you need to emulate the access of an user to a site, either for retrieving information, or for testing if a site is working properly.

This class makes it easy to build scripts that emulate the access of users to a sequence of pages, by clicking on links and submitting forms.

Manuel Lemos

  User ratings  
There are not enough user ratings to display for this class.

  Packages needed by this class  
Class Dependency Why it is needed
Remote Form
Recommended
Used for handling forms submission

  Trackback links  
Link Description
Browse the web with PHP Ever so often, you come across a website that you would like to check regularly...

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file browser.class.php Class The class sources
Accessible without login Plain text file browser.example.php Example An example of how the script can be used
Plain text file curl_http_client.php Class Curl_HTTP_Client slightly modified to allow cURL to follow redirects
Plain text file remoteform.class.php Class RemoteForm class for submitting forms. Also exists as a separate project on PHPClasses

Download all files: browser.tar.gz browser.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.