Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Dejan Velimirovic  >  Proxy List  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: Proxy List
Download and parse a proxy list from Proxy 4 free
Author: By
Last change:
Date: 9 years ago
Size: 258 bytes
 

Contents

Class file image Download
<?php

include('proxy.php');
$proxy = new Proxy();

$proxy->GetPage(); //download proxy list from www.proxy4free.com (html)
$proxy->ParseFile(); //take only valuable information from html file
echo $proxy->RandomProxy(); //get random proxy from the list
?>