Hi all,
I am trying to do some proxy stuff , I am able to retrieve the page but not able to catch the return , what I am doing is
Quote:
passthru("curl --proxy 195.115.142.120:80 xyz.com");
or
exec("curl --proxy 195.115.142.120:80 xyz.com");
|
It throws the results (displays the xyz.com) to my page but I want to catch that in a variable like
$variable=passthru("curl --proxy 195.115.142.120:80 xyz.com");
or
$variable=(some php fucntion)("curl --proxy 195.115.142.120:80 xyz.com");
echo $variable ,
should give me the page.
Regards
AjiNIMC