How To connect a sever With 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 connect a sever With website (
/showthread.php?tid=392917)
How To connect a sever With website -
Raj811 - 16.11.2012
Hi guys ,
I am new here and want to add a thing in my sever that is mysql i want that what ever in my sever update it go into my website
such as i want
Register / login with forum username and password as well in website also
Ban player list with reason admin name and other info
player status also
thx in advance if anyone can do it .
AW: How To connect a sever With website -
Skimmer - 16.11.2012
Do you use MySQL for your server? If yes i can show you it.
Re: How To connect a sever With website -
iGetty - 16.11.2012
You will need to learn PHP for this.
If you need any help, shoot me a PM.
Edit: Example System:
http://gettygaming.co.uk/master/
Re: How To connect a sever With website -
Raj811 - 16.11.2012
ya i use mysql and i thing it is only way to connect a sever with website (right na )
and i have very little bet of knowledge of php and i had install it on my computer with xampp
Re: How To connect a sever With website -
Raj811 - 17.11.2012
can anyone help me !!!!!
AW: How To connect a sever With website -
Skimmer - 17.11.2012
Код:
You should learn PHP. (HTML / CSS for design your website)
$host = "localhost";
$user = "root"; // If you use local ip. XAMPP
$pass = "password";
$data = "database";
mysql_connect($host, $user, $pass);
mysql_select_db($data);