![]() |
|
|
#5 |
|
Архивный участник
Join Date: Mar 2005
Posts: 39
|
[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] |
|
|
|
|