SA-MP Forums Archive
control panel using Y_Ini - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: control panel using Y_Ini (/showthread.php?tid=472865)



control panel using Y_Ini - GreTex - 31.10.2013

is that possible, If i can create a Control panel on my website that Links to my server's using Y_Ini
so That player can login there and Change their pass,email and skin etc


Re: control panel using Y_Ini - tyler12 - 31.10.2013

http://php.net/manual/en/ref.ftp.php


Re: control panel using Y_Ini - Astralis - 31.10.2013

Quote:
Originally Posted by GreTex
Посмотреть сообщение
is that possible, If i can create a Control panel on my website that Links to my server's using Y_Ini
so That player can login there and Change their pass,email and skin etc
you should better use mysql.


Re: control panel using Y_Ini - boomerboom - 31.10.2013

How do you even make control panel with that?


Re: control panel using Y_Ini - woot - 31.10.2013

That shouldn't be too hard to do but it'll obviously be slower than if you're storing data in SQL. If your webserver is on the same server as the gameserver you don't need to deal with continously opening and closing ftp connections.

PHP has some useful functions to work with ini files;
http://php.net/manual/en/function.parse-ini-file.php