Curl Proxy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • coangcoet
    replied
    how to grab web proxy example dartspeed.info

    Leave a comment:


  • kei_ki7
    replied
    Originally posted by BioBeo View Post
    I would like to access google voice with this.. cause in my country google voice is not available...

    can you make a script to access google.com/voice with US ip ?
    Try to use VPN

    Leave a comment:


  • BioBeo
    replied
    Originally posted by GumSlone View Post
    the curl connection will have the ip of the server from which you connect, your sites ip.
    I would like to access google voice with this.. cause in my country google voice is not available...

    can you make a script to access google.com/voice with US ip ?

    Leave a comment:


  • Coolatmusic
    replied
    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:


  • coangcoet
    replied
    thanks boz

    Leave a comment:


  • something else
    replied
    I use a moded version of http://www.phpmyproxy.com :P

    Leave a comment:


  • Mysterio
    replied
    Originally posted by coangcoet View Post
    how to create proxy php code with random useragent and ip addres,?
    There are many proxy scripts on internet, which are free and/or open source, but I am not finding any to work as I expect.

    Leave a comment:


  • coangcoet
    replied
    how to create proxy php code with random useragent and ip addres,?

    Leave a comment:


  • GumSlone
    replied
    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
    the curl connection will have the ip of the server from which you connect, your sites ip.

    Leave a comment:


  • something else
    replied
    You can debug by using:
    PHP Code:
    print curl_error(); 

    Leave a comment:


  • soul_reaper
    replied
    @ViCkSy

    yes :D

    Leave a comment:


  • ViCkSy
    replied
    I guess you want to use some proxy IP's to use it in some grabber

    Leave a comment:


  • soul_reaper
    replied
    @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
    Last edited by soul_reaper; 23.04.11, 14:29.

    Leave a comment:


  • GumSlone
    replied
    Originally posted by soul_reaper View Post
    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 :-?

    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); 
    ?>
    you know another code/way to do that ? :-?
    and what is not working in your code? curl will have always the server ip.

    Leave a comment:


  • soul_reaper
    started a topic Curl Proxy

    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 :-?

    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); 
    ?>
    you know another code/way to do that ? :-?
    Last edited by soul_reaper; 23.04.11, 13:47.
Working...
X