PHP code example of arhx / proxy-checker

1. Go to this page and download the library: Download arhx/proxy-checker library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

arhx / proxy-checker example snippets


/*
*	$check_page [al]
*/
    $check_page = 'http://myproxychecker.com/check.php';
    $config = [
        'timeout'   => 100,
        'check'     => ['get', 'post', 'cookie', 'referer', 'user_agent'],
    ];
    $checker = new ProxyChecker($check_page, $config);

/*
*	$proxy [


// possible url for this file: http://myproxychecker.com/check.php
t = implode(PHP_EOL,$checkResult);
echo $checkResult;