Problem ban log php
#1

Hello to mp.com. How can I integrate and log money on a table. That help me?
PHP код:
<?php
    $ftp_host 
""//put the ip / hostname to your ftp here
    
$ftp_user ""//put your login here
    
$ftp_pass ""//put your password here
    
$banfile "samp03/scriptfiles/LuxAdmin/Logs/BanLog.txt";
    
    
$con ftp_connect($ftp_host) or die("Couldnt connect to your ftp (check your settings!");
    
ftp_login($con$ftp_user$ftp_pass);
    
ftp_get($con"BanLog.txt"$banfileFTP_ASCII);
    
ftp_close($con);
    
    
$file fopen("BanLog.txt""r");
    
$bans fread($filefilesize("BanLog.txt"));
    
fclose($file);
    
    echo 
nl2br($bans);
?>
[17:28:46] | [RNG]MoonWalk | has banned niGGa.niGGa for 5 days | (Reason: hack-uri)
Reply
#2

Quote:
Originally Posted by alex02
Посмотреть сообщение
Hello to mp.com.
Who ?

This is not a php forum.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)