SA-MP Forums Archive
Online Ban list using Mysql and PHP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Online Ban list using Mysql and PHP (/showthread.php?tid=584745)



Online Ban list using Mysql and PHP - bigboy81 - 07.08.2015

I need some example how to make ban list on my Forum.
Im starter about mysql..

Example from this: http://sampdm.net/banlist.php


Re: Online Ban list using Mysql and PHP - prineside - 07.08.2015

I don't know what you mean under "Forum", but it can be easily made in the way it was done in your link.
First tell us about your knowlenge of PHP and how you store bans info in your server


Re: Online Ban list using Mysql and PHP - bigboy81 - 07.08.2015

What i mean under forum ? I have my own smf Forum..
My knowlenge of PHP is bad, i know better html..
I store bans information into txt file..

Bannedby = BigBoy81
Reason = Cheat


Re: Online Ban list using Mysql and PHP - prineside - 07.08.2015

Quote:
Originally Posted by bigboy81
Посмотреть сообщение
What i mean under forum ? I have my own smf Forum..
My knowlenge of PHP is bad, i know better html..
I store bans information into txt file..

Bannedby = BigBoy81
Reason = Cheat
If you don't want to change anything in your server, the only one thing you can do is to parse those .txt files with PHP.
Normally banlists are placed in MySQL database, so if you want to make that thing you should think about rewriting your ban system on MySQL.