23.05.2010, 03:17
Im trying to change this up..
heres my code:
now im trying to make it so it splits it up by where the / is placed..
But the table is blank
heres my code:
Код:
public function parseBan() { $file = fopen('ban.log','r'); $data = fread($file,filesize('ban.log')); $pieces = explode("/", $file); $USER = $pieces[1]; $USERBY = $pieces[3]; $USER = $pieces[5]; fclose($file); }
Код:
[ ! ] /noob852/ has been banned by/ the server/ for /$$$ hack/ !