[Help] INI-based UCP?
#1

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
Reply
#2

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)
Reply
#3

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.
Reply
#4

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.
Reply
#5

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.
Reply
#6

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?
Reply
#7

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


Forum Jump:


Users browsing this thread: 1 Guest(s)