Details
/**
* PHPProxyChecker documetation.
* @author Stanislav Afanasiev <stas.progger[at]gmail.com>
* @created 15.12.2010
* @version 1.0
*/
English:
Documentation for PHPProxyChecker class
Requirements for use:
PHP 5.2 .*
Curl
open_ssl
How do I use?
1) You should put the file gate.php on hosting with support for all requirements
2) You must declare a constant HTTP_GATE, HTTPS_GATE, CHECK_TIMEOUT before calling checkProxy ()
Return Values
If the proxy is working, it returns an array of the following structure:
TYPE - Type of proxy (HTTP or SOCKS)
TYPE_NAME - The level of anonymity
TYPE_CODE - The numeric value of the level of anonymity (0 - Transparent, 1 - Anonymous, 2 - Elite 3 - Indefinite)
QUERY_TIME - response time to a GET request
SUPPORT_GET - Support for GET requests (Y | N)
SUPPORT_COOKIE - Support transfer COOKIES (Y | N)
SUPPORT_REFERER - Support transfer REFERER (Y | N)
SUPPORT_POST - Support for POST requests (Y | N)
SUPPORT_SSL - Support for SSL (for HTTP) (Y | N)
PROXY_IP - Ip address
PROXY_PORT - Port
If the proxy is not working, it returns an array of the following structure:
NOT_WORKING => Y
|
|
Name: |
PHP Proxy Checker |
Base name: |
php-proxy-checker |
Description: |
Check if a proxy server is working and its type |
Version: |
1.0 |
PHP version: |
5.2 |
License: |
Free for non-commercial use |
All time users: |
2391 users |
All time rank: |
1630 |
Week users: |
0 users |
Week rank: |
200  |
|
|
 April 2011
Number 3
Prize: One downloadable copy of Komodo IDE |
Sometimes it is necessary to use a proxy server to access certain types of resources on the Web.
There are listings with many available proxy servers on the Web that can be used but some of them are not working or work in a certain way that is not convenient.
This class can test if a given proxy is working and tells its characteristics so you can evaluate if it is convenient for your purposes, like speed of response, provided anonymity level, etc..
Manuel Lemos |
Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
All time: |
Not sure (58%) |
Not sure (58%) |
Sufficient (75%) |
Good (91%) |
- |
- |
Not sure (51%) |
2238 |
Month: |
Not yet rated by the users |
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.
|
Files |
|
|
Files |
|