Curl Proxy
Collapse
X
-
I would like to access google voice with this.. cause in my country google voice is not available...Originally posted by GumSlone View Postthe curl connection will have the ip of the server from which you connect, your sites ip.
can you make a script to access google.com/voice with US ip ?
Leave a comment:
-
i also need a similar script........
i m creating a grabber for which i need to verify the user agent of the script as a mobile browser
Leave a comment:
-
how to create proxy php code with random useragent and ip addres,?
Leave a comment:
-
the curl connection will have the ip of the server from which you connect, your sites ip.Originally posted by soul_reaper View Post@GumSlone
i don`t know :-? that i ask...he show blank page :-? but if i set curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, o); it works :|
and i have one more question :-? can i change range ip ? :-? not only last numbers
for last numbers i use curl_setopt ($ch, CURLOPT_INTERFACE, 'your ip');
and ip i get from cpanel/your list ip
but i want to set an external ip ,not mine :| i don`t know if you understand
Leave a comment:
-
@GumSlone
i don`t know :-? that i ask...he show blank page :-? but if i set curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, o); it works :|
and i have one more question :-? can i change range ip ? :-? not only last numbers
for last numbers i use curl_setopt ($ch, CURLOPT_INTERFACE, 'your ip');
and ip i get from cpanel/your list ip
but i want to set an external ip ,not mine :| i don`t know if you understandLast edited by soul_reaper; 23.04.11, 14:29.
Leave a comment:
-
and what is not working in your code? curl will have always the server ip.Originally posted by soul_reaper View PostHello :D i have 1 problem :-?
how to use curl with proxy ? :-? i want to use another ip not mine (server ip)
i try something like that but doesn`t work :-?
you know another code/way to do that ? :-?Code:<?php $proxy = ""; //<-optional proxy IP $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://site.com'); curl_setopt($ch, CURLOPT_HEADER, 1); if($proxy){ curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1); curl_setopt($ch, CURLOPT_PROXY, "$proxy"); } $data = curl_exec($ch); curl_close($ch); ?>
Leave a comment:
-
Curl Proxy
Hello :D i have 1 problem :-?
how to use curl with proxy ? :-? i want to use another ip not mine (server ip)
i try something like that but doesn`t work :-?
you know another code/way to do that ? :-?Code:<?php $proxy = ""; //<-optional proxy IP $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://site.com'); curl_setopt($ch, CURLOPT_HEADER, 1); if($proxy){ curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1); curl_setopt($ch, CURLOPT_PROXY, "$proxy"); } $data = curl_exec($ch); curl_close($ch); ?>Last edited by soul_reaper; 23.04.11, 13:47.
Leave a comment: