YSI PHP stats - 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: YSI PHP stats (
/showthread.php?tid=489735)
YSI PHP stats -
CH | FuDo - 23.01.2014
Hi guys, I have somewhere readed that we can connect our samp server with php. Now, my question can I make signature system, which will take my player stats from scriptfiles and make it like mysql singature? If answer is yes, how can I make it?
Thank you.
Re: YSI PHP stats -
iJumbo - 23.01.2014
if your scriptfiles floder is shared with web server yes.
Re: YSI PHP stats -
thefatshizms - 23.01.2014
You don't have to be on the same web server as longs as you have ftp access to the server host you can do it via that.
Re: YSI PHP stats -
GWMPT - 23.01.2014
2 words:
FTP Connection
You just need to put your php script accessing the server folder over a ftp connection.
After that, you just read the file you want, parse it in the way you want, and then, just handle the data.
Re: YSI PHP stats -
Tayab - 23.01.2014
It's simple, with just few FTP Functions you can actually make it work.
Go through
PHP FTP Functions, it's self-explainitory and shouldn't be hard. If you have further questions, inbox me. I can help you out.
Re: YSI PHP stats -
CH | FuDo - 24.01.2014
Oh, thank you for this great answers. So, this is possible if I could make PHP script, which will use the FTP functions. Is there any somekind tutorial to help me with this?
Re: YSI PHP stats -
iJumbo - 24.01.2014
Check out Tayab post.. he provided a link with lot of tutorials about that
Re: YSI PHP stats -
CH | FuDo - 24.01.2014
I checked the link from Tayab post. The problem is, that I'm first time use PHP, to make some scripts.