PHP Classes
Icontem

Class: Browser


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jon Gjengset  >  Browser  >  Download  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Browser Support forum
Base name: browser
Description: Retrieve Web pages emulating a browser
Version: 1.0
Required PHP version: 5.0
License: Freely Distributable
All time users: 817 users
All time rank: 2807
Week users: 9 users
Week rank: 804
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Dependencies   Applications   Files Files  

Author

Picture of Jon Gjengset
Name: Jon Gjengset is available for providing paid consulting. Contact Jon Gjengset .
Published packages: 10 Browse this author's classes Browse this author's classes
Country: Norway Norway - PHP jobs in Norway
Home page: http://www.thesquareplanet.com/
Age: 19
All time rank: 238
Week rank: 178

Innovation Award

PHP Programming Innovation award nominee
June 2009
Number 3
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

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

Detailed description

This class can be used to retrieve Web pages emulating a browser.

It can retrieve a give 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.

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

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

File Role Description
Plain text file browser.class.php Class The class sources
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.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products