SA-MP Forums Archive
php who is online - 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: php who is online (/showthread.php?tid=292064)



php who is online - Baboon - 22.10.2011

Does anyone know a way to show the online players and other server information on your website by using php?
I got no clue at the moment.
I have tried this: https://sampforum.blast.hk/showthread.php?tid=99649
but I got php errors.


Re: php who is online - JiHost - 22.10.2011

What PHP errors are you getting. We might be able to fix it out.


Re: php who is online - Baboon - 22.10.2011

PHP Error Message

Parse error: syntax error, unexpected '&' in /home/a8413917/public_html/iets/login/query.html on line 20



I am using the exact same code.


Re: php who is online - JiHost - 22.10.2011

This post was posted on old SMF forums. Code is somehow bugged on new forums. Anyway replace all &#39 in code with ". It will work.


Re: php who is online - seanny - 22.10.2011

SMF forum? Did SAMP have an SMF forum?

This forum requires that you wait 120 seconds between posts. Please try again in 1 seconds.


Re: php who is online - Baboon - 22.10.2011

Thank you!

EDIT: I can't retrieve information from my server somehow. It says its offline, but its on.


Re: php who is online - JiHost - 22.10.2011

Quote:
Originally Posted by seanny
Посмотреть сообщение
SMF forum? Did SAMP have an SMF forum?

This forum requires that you wait 120 seconds between posts. Please try again in 1 seconds.
Or whatever forum platform was it.


Re: php who is online - Baboon - 22.10.2011

EDIT: I can't retrieve information from my server somehow. It says its offline, but its on.