Safe and rapid socks5   rapidsocks.com English version English version
  Try out our socks service. Get free 24 hours test now!
Feel free to contact us ;)   ICQ: 416-984-560   Skype: rapidsocks
 

Examples:

Using cURL with our SOCKS

Here you have a small sample of PHP script using cURL extention. This library is a standard set of PHP and is used in practically all scripts.

<?php

$ch=curl_init("http://site.com");

   @curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
   // return the transfer as a string instead of outputting it out directly
   @curl_setopt($ch, CURLOPT_VERBOSE, 0);
   //disable output verbose information.
   @curl_setopt($ch, CURLOPT_HEADER, 0);
   // disable Headers
   @curl_setopt($ch, CURLOPT_PROXY, "10.0.0.10:35000");
   //IP and port of our SOCKS5
   @curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
   //enable SOCKS5
   $x=@curl_exec($ch);

curl_close($ch);

echo $x;
//print content into browser

?>

For more information visit PHP Documentation Library.