Hi!
I use PHP script to add channel icon on the server
PHP Code:
$id = $_POST[uid];
$icc = $_POST[icon];
$fp = fsockopen('95.140.33.216', 10011, $errno, $error, 5) OR die($error."(".$errno.")");
$out = "login serveradmin ********
use sid=1
clientupdate client_nickname=Voice\sWebadmin\sSystem
channeledit cid=$id channel_icon_id=$icc
logout
quit" OR die;
fwrite($fp, $out);
fclose($fp);
This script is work but if i restart the server, the icon is removed.
Why??
PLEASE HELP!
(sorry for bad english)
UI: I use SQLite3