PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Ska-Man   Proxy Connector   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Proxy Connector
Retrieve remote Web pages using the TOR network
Author: By
Last change: Update of index.php
Date: 20 days ago
Size: 483 bytes


Class file image Download

//include the class
//remember the configuration file is located in:


//get an istance of the proxy
$connection = proxyConnector::getIstance();

//connect to and change my identity
//because "switchIdentityAfterRequest" is set to TRUE
//in the .ini file
$connection->launch("", null);

//get the data and show it
$data = $connection->getProxyData();