PHP Classes

File: example.php

Recommend this page to a friend!
  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: 18 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
?>