SA-MP Forums Archive
How to register through the website? - 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: How to register through the website? (/showthread.php?tid=549781)



How to register through the website? - _Application_ - 08.12.2014

How can you sign up to serve
Through a website?

How do I do this?


(sorry my bad english)


Re: How to register through the website? - Blademaster680 - 08.12.2014

You have to connect your site to the same mysql database as the sa-mp server. Im not sure if y_ini can do it, I think it can but you need to double check that.


Re: How to register through the website? - Kaperstone - 08.12.2014

Quote:
Originally Posted by Blademaster680
Посмотреть сообщение
You have to connect your site to the same mysql database as the sa-mp server. Im not sure if y_ini can do it, I think it can but you need to double check that.
Yes, you can by creating the file, writing into it and closing it - fopen, fwrite,fclose


Re: How to register through the website? - _Application_ - 09.12.2014

Quote:
Originally Posted by Kaperstone
Посмотреть сообщение
Yes, you can by creating the file, writing into it and closing it - fopen, fwrite,fclose
How to register a file from the site,
Can be an example?