SA-MP Forums Archive
[HELP] SA:MP Query API - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: [HELP] SA:MP Query API (/showthread.php?tid=508437)



[HELP] SA:MP Query API - cr33d - 22.04.2014

HI,
I've made some server statictics and put it on two web hostign (one of them is my personal VPS). So i had the problem with API. Statistic is working on VPS hosting http://5.231.70.248/glavni/ but the same webpage is not working on http://pcp.sa-rpg.com/glavni/ and the all other hostings. Could you help me please to solve the problems. Thanks


Re: [HELP] SA:MP Query API - Kirollos - 22.04.2014

It can be that your webhosting provider doesn't support fsockopen() which SampQueryAPI uses.


Re: [HELP] SA:MP Query API - nickdodd25 - 22.04.2014

Ya alot of hosts have ports closed for fsockopen and you need to request to open a port. If not use an iframe from your vps to your webhost. Seems like it would be a decent alternative.


Re: [HELP] SA:MP Query API - cr33d - 22.04.2014

OK thank you i've fixed that but the player stats can show player online if there is more than 100 of them. Could i fix it too?