Jump to content

Cum Afisez Ban Log Intr-Un Tabel?


Johnny JohnNy

Recommended Posts

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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • 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.