PHP Classes

Page Ripper: Retrieve and alter remote Web pages

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,272 All time: 2,861 This week: 594Up
Version License Categories  
pageripper 1.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.

Picture of ben
Name: ben <contact>
Classes: 3 packages by
Country: The Netherlands The Netherlands
Age: 46
All time rank: 90027 in The Netherlands The Netherlands
Week rank: 866 Up24 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  
 0%Total:1,272All time:2,861
 This week:0This week:594Up