View Single Post
Old 25.04.2005, 05:16   #5
reijii
Архивный участник
 
Join Date: Mar 2005
Posts: 39
Default

[php:1:ca1fc9b6ac]
$fp = fsockopen("xx.xx.xx.xx", 2009, $errno, $errstr);
if (!$fp) {
echo "$errstr ($errno)
\n";
} else {
$out = "5"."\t".$char_name."\t"."\r\n";
fwrite($fp, $out);
stream_set_timeout($fp, 2);
$answ = fgets($fp,8);
if ($answ==1) {
print"Character is successfully kicked.";
} else {
print"Error.";
}
fclose($fp);
} [/php:1:ca1fc9b6ac]
reijii is offline