Question
#1

Can i use mysql and y_ini both in same script?

Like y_ini for saving stats

mysql for UCP?

Can i use both in same script?
Reply
#2

Yes, but why not just make the entire thing MYSQL? Works great . But to have a UCP you need MYSQL.
Reply
#3

Yes, you can use Y_INI and MySQL in the same script, but why would you not use MySQL to save the player's data? As far as I know, the UCP is used to change certain data from a player via the website. You're better off using MySQL for both.
Reply
#4

I don't know much about mysql. So, That's the reason. I may learn soon then change my script. Thank you for replying.
Reply
#5

Quote:
Originally Posted by Phaze
Посмотреть сообщение
But to have a UCP you need MYSQL.
NOT true.
Reply
#6

Quote:
Originally Posted by Djole1337
Посмотреть сообщение
NOT true.
I heard, You can have UCP using y_ini too. Use y_php something. Idk about this much but you can that's all i know.
Reply
#7

Quote:
Originally Posted by Djole1337
Посмотреть сообщение
NOT true.
Ya however I won't recommend another way, MYSQL got it's perks and works fast. It's also good if you want to host it off localhost(which I don't recommend) but still.
Reply
#8

Quote:
Originally Posted by Phaze
Посмотреть сообщение
Ya however I won't recommend another way, MYSQL got it's perks and works fast. It's also good if you want to host it off localhost(which I don't recommend) but still.
Why don't you recommend a locally hosted MySQL server?
Reply
#9

Quote:
Originally Posted by ev0lution
Посмотреть сообщение
Why don't you recommend a locally hosted MySQL server?
I don't recommend a not locally MYSQL server, like people have the UCP on another Web Server and MYSQL on another.
Reply
#10

To be honest, I think it's a lot easier to host your website with a reliable shared host rather than trying to host one yourself. A reliable host will provide you with:
  • cPanel, which is a paid panel
  • At least 2 MySQL databases (for forums, mediawiki, etc)
  • A properly configured mailserver (needed amongst others for PHP's mail()), which is very hard to set up yourself
  • Nameservers
  • Support
Of course there are downsides, such as not being able to use certain "dangerous" PHP functions and not having the ability to upgrade.

Now, while it probably would be possible to read INI files stored on another server, it would probably be completely inefficient. You would have to connect through FTP, transfer the file from the remote server to a temporary location on the local server. Open the file. Rewrite the file. Close the file. Send it back over FTP to the remote server. Delete the locally stored temporary file. Honestly, what a bother.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)