Thread: ≈ Auto Loot Possible?
View Single Post
Old 13.10.2005, 21:54   #8
BiGBoY
Архивный участник
 
Join Date: May 2005
Posts: 216
Default

This was my attempt for clear unowned items trough cached but without good success :/

[php:1:af43487e00]<?php
require "config.php";

$str = "EXEC lin_DeleteNotOwnedItem";

$fp = fsockopen($CONFIG['dbaddress'], 2009, $errno, $errstr);
if(!$fp)
{
echo("Error: $errstr ($errno)");
return(0);
}
fwrite($fp, $str);
stream_set_timeout($fp, 2);
$ret = fgets($fp,8);
fclose($fp);

echo("Cleared, check the CacheD
RET: ($ret)");
?>[/php:1:af43487e00]
BiGBoY is offline