[Help] INI-based UCP? - 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: [Help] INI-based UCP? (
/showthread.php?tid=516705)
[Help] INI-based UCP? -
Kemula - 01.06.2014
Hello, thanks for visiting my post!
I've a question. I saw a non-mysql UCP, which manages the data using FTP. My gamemode uses INI files, so my question is how can i do a INI based UCP, or a link to a one.
Thanks
Re: [Help] INI-based UCP? -
Dignity - 01.06.2014
See the quote: (sauce:
http://forum.sa-mp.com/showpost.php?...89&postcount=5)
Quote:
Originally Posted by xkirill
Switching to MySQL has pros and cons.
if you're interested in more advanced data manipulation and control, then I'd go with MySQL, also MySQL is more secure than fwrite/y_ini, to access a y_ini file you need to -
1. Hack into the FTP
2. Download .ini file
3. Edit.
4. Upload.
Done, you've successfully edited and everything went perfect and easy.
On MySQL on the other hand you'll need to provide user name and password in order to access the MySQL database.
Also, in case where you need to search between hundreds or thousands of users for a specific user, y_ini gets slow, in this case MySQL takes advantage, MySQL is much faster than fwrite in big databases management.
Other than that, if you're not going to send many queries and/or don't want to mess with queries and what is went wrong during the process and that kind of crap, and you'd just prefer to stay with simpler & faster way, go with y_ini.
(Just make it clear, in small databases, fwrite/y_ini is faster)
|
Re: [Help] INI-based UCP? -
Calgon - 01.06.2014
You'll have to make one in another language, or ask the people who made that UCP for it. Pawn can't currently be used to make websites/user control panels, you'll need to use a server-sided scripting language like PHP (
FTP Functions) with HTML.
http://www.codecademy.com/learn
Quote:
Originally Posted by Mionee
|
Please read the post before quoting irrelevant nonsense, or explain it in context. User control panels can be made without the use of MySQL.
Respuesta: Re: [Help] INI-based UCP? -
Kemula - 01.06.2014
Quote:
Originally Posted by Calgon
You'll have to make one in another language, or ask the people who made that UCP for it. Pawn can't currently be used to make websites/user control panels, you'll need to use a server-sided scripting language like PHP ( FTP Functions) with HTML.
http://www.codecademy.com/learn
|
Yes, I want to do it with PHP xd, not with Pawn.
Re: Respuesta: Re: [Help] INI-based UCP? -
Calgon - 01.06.2014
Quote:
Originally Posted by Kemula
Yes, I want to do it with PHP xd, not with Pawn.
|
Learn PHP, the codecademy link
may help, you can use the
FTP functions in PHP to retrieve files.
Respuesta: Re: Respuesta: Re: [Help] INI-based UCP? -
Kemula - 01.06.2014
Quote:
Originally Posted by Calgon
Learn PHP, the codecademy link may help, you can use the FTP functions in PHP to retrieve files.
|
Okay, I'll take a look. And do you know some non-MySQL UCP?
Re: Respuesta: Re: Respuesta: Re: [Help] INI-based UCP? -
Calgon - 01.06.2014
Quote:
Originally Posted by Kemula
Okay, I'll take a look. And do you know some non-MySQL UCP?
|
You'll have to make one, I'm pretty sure none have been released.