Jump to content

Recommended Posts

Posted

Teci am facut asa:

 

<center>
<table style="width:300px">
<tr> <?php

$ftp_host = "fd"; //put the ip / hostname to your ftp here
$ftp_user = "dfd"; //put your login here
$ftp_pass = "fd"; //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", $banfile, FTP_ASCII);
ftp_close($con);

$file = fopen("BanLog.txt", "r");
$bans = fread($file, filesize("BanLog.txt"));
fclose($file);

echo nl2br($bans);

?></tr>
</table>
</center>

 

Si nu merge:-??

Ce sai fac?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.