mr.The
01.05.2007, 16:24
Как открыть сокет через прокси?
Например в таком коде:
<?php
$site="site.com";
$mesto="index.htm";
$so = fsockopen($site,80); fputs($so,"GET /".$mesto." HTTP/1.0\nHOST: ".$site."\n\n");
fclose($so);
?>
помогите плз :confused:
Например в таком коде:
<?php
$site="site.com";
$mesto="index.htm";
$so = fsockopen($site,80); fputs($so,"GET /".$mesto." HTTP/1.0\nHOST: ".$site."\n\n");
fclose($so);
?>
помогите плз :confused: