GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   php based proxy using curl (https://gfy.com/showthread.php?t=1148471)

tpw 08-24-2014 03:23 PM

php based proxy using curl
 
I am just writing a little script on the back end of my site's server so i can have a private proxy. Since I am banned from stackoverflow :thumbsup figured I would post here and see if anyone could help. Currently I have:
PHP Code:

$search $_POST["sValue"];
$ch curl_init();

curl_setopt($chCURLOPT_URL"wwwdot$search/");
curl_setopt($ch,CURLOPT_FOLLOWLOCATION,true);

curl_exec($ch);
curl_close($ch); 

As expected though if you go to google and type something in the search bar it tries to run the search from your domain. IE instead of: wwwdotgoogledotcom/search?ie=ISO-8859-1&hl=en&source=hp&q=google&btnG=Google+Search&gbv= 2&gws_rd=ssl it does: wwwdotthepornwizdotcom/search?ie=ISO-8859-1&hl=en&source=hp&q=google&btnG=Google+Search&gbv= 2

So atm is pretty retarded as I am in essence just echoing the page out. Althought if everytime I follow a link it just keeps it like wwwdotthepornwiz.com/sub/proxy_search.php?k=thelink I should be able to load everything although without images.

brentbacardi 08-26-2014 05:15 PM

Use cURL set proxy

weewilly 08-27-2014 02:09 PM

Use Glype. It is a nice proxy script


All times are GMT -7. The time now is 08:17 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123