jeudi 2 avril 2015

How to use Hidemyass Proxy for php


Vote count:

0




I want to use hidemyass.com free proxy. I used in the following way, WHat is wrong. Can anyone explain.



$url = 'http://ift.tt/gbk8l4';
$proxy = '7.186.198.225.53.93.150.154.160.181.224.22.146:8080';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_PROXY, $proxy);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HEADER, 1);
$curl_scraped_page = curl_exec($ch);
curl_close($ch);

echo $curl_scraped_page;


asked 1 min ago







How to use Hidemyass Proxy for php

Aucun commentaire:

Enregistrer un commentaire