please help me with writing a script which have send a data into form on the remote server via proxy.
I have found this code, but what I need changing for send a data via proxy (randomly choosing from list, e.g. proxylist.txt)
$header = "POST <path to page> HTTP/1.0\n";
$header .= "Content-type: application/x-www-form-urlencoded\n";
$header .= "Content-length: " . strlen($request) . "\n\n";
$fp = fsockopen("<server name>", <server port>, $err_num, $err_msg);
if ($fp) {
fputs($fp, $header.$request);
while (!feof($fp)) {
$http_result .= fgets($fp, 4096);
}
fclose($fp);
may be someone have sample of this script?
thank you !