cURL proxy


Posted on 16th Feb 2014 07:03 pm by admin

Okay here is the thing... i know how to add proxys

Code: curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
curl_setopt($ch, CURLOPT_PROXY,"[i][b]PROXYHERE[/b][/i]");
Here are my questions.. What kind of proxy dose it use? ( Sock5? http? Sock4? ect..)

Okay second here the php part. I need it to read a txt file on the server called proxylist.txt

and randomly pick a proxy from it but after it picks it. it has to remove it from the TXT file.

Help!?@

No comments posted yet

Your Answer:

Login to answer
184 Like 26 Dislike
Previous forums Next forums
Other forums

listing help
Hi,

at first, great new design!!! I like it,

i got a problem,

I want to list so

What are causes of a connection-timeout with fopen()?
Hello! Here is the situation: The server I host my website on just upgraded it's PHP build from 4.4.

When file included, REMOTE_ADDR is server's?
I have an index file that handles my site, basically index.php?page=ip will activate "require('

Accessing element of object array
Hello

My object looks like this:


Array ( [0] => User Object ( [id] =>

Memory Allocation
Hi folks,
see this ex:

int v=5;
v=v+10;

then what will do the compiler before th

the problem with str_replace
$str="hahahahahahahahahahahahahaha";
$nn=1;
$str=str_replace('ha','MyGod',$str,$nn);

Breaking results into week blocks
I have a set of dates (and times), which are returned from a mySQL query.

These usually span

PECL uploadprogress for php5.2
Hey, I just installed PHP5 via .htaccess on my 1and1 Shared Hosting Account.

How would I exac

FTP issues
Hi all,


I am currently facing some serious problems with a script and really need some ad

socket makes browser hang...
I have a socket server, and I am having a problem at the moment...

A browser sends a http hea

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash