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 Alexey Freelancer  >  Proxy Checker  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Proxy Checker
Check is a HTTP proxy is working
Author: By
Last change:
Date: 1 year ago
Size: 346 bytes
 

Contents

Class file image Download
<?php

namespace ProxyChecker;

include 
__DIR__ '/ProxyChecker.php';

$pingUrl 'http://yourdomain.com/ProxyChecker/ping.php';
$proxyChecker = new ProxyChecker($pingUrl);

$proxies = array(
    
'183.95.132.76:80',
    
'195.5.18.41:8118',
);

$results $proxyChecker->checkProxies($proxies);

echo 
'<pre>';
var_export($results);
echo 
'</pre';