PHP Classes

Page Ripper: Retrieve and alter remote Web pages

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2006-10-24 (11 years ago) RSS 2.0 feedStarStarStar 53%Total: 1,286 All time: 2,921 This week: 579Up
Version License Categories
pageripper 1.0.0BSD LicenseHTML, Web services
Description Author

This class can be used to retrieve and alter remote Web pages.

It can retrieve HTML pages from remote sites and extract parts of the HTML data and optionally replace with new values.

Name: ben <contact>
Classes: 3 packages by
Country: The Netherlands The Netherlands
Age: 48
All time rank: 92427 in The Netherlands The Netherlands
Week rank: 1028 Down21 in The Netherlands The Netherlands Up

10-10-2006 9:48
 De Bron Digital Solution (
Ben Heesen (


Simple pagerip class in php. With cURL you pick up a specific part of a page. With extra possibilities like improve code beginning and ending,
replacement of pieces of code or picking up page content after submitting a form (like e.g. login form)

Simpele pagerip class in php. Met curl haal je een bepaald gedeelte van een pagina op.
Met extra mogelijkheden zoals het verbeteren van de code aan het begin en het eind, het vervangen van stukken code en het ophalen van een pagina na het versturen van een formulier (bv een inlog formulier).

# require("pageripper.class.php");
# $pr = new PageRip();
# echo $pr->getChunk($url,$start,$end,$repair_start,$repair_end,$error_msg);

# require("pageripper.class.php");
# $pr = new PageRip();
# echo $pr->getChunkandReplace($url,$start,$end,$repair_start,$repair_end,$error_msg,$str_rep_1,$str_rep_1_with,$str_rep_2,$str_rep_2_with,$str_rep3,$str_rep_3_with);

# example
# require('class.pagerip.php');
# $pr = new PageRip();
# $url = '';
# $start = '';
# $end = 'Help FAQ';
# $error_msg = 'failed to rip page';
# $ripped_piece = $pr->getChunkandReplace($url,$start,$end,$repair_start,$repair_end,$error_msg);
# echo $ripped_piece;

For more information Visit

  Files folder image Files  
File Role Description
Plain text file pageripper.class.php Class pagerip with cURL
Accessible without login Plain text file README.TXT Doc. README

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,921
This week:579Up
 User Ratings  
 All time