[Help]PHP and Query -
Fico62 - 12.09.2012
Hi, i created server banners for my queryed servers. I did all but i don't know how to create one thing that is this

How to insert that line on my banner and move it by time...
Sorry on my bad explanation...
Re: [Help]PHP and Query -
iPawner - 12.09.2012
Wrong Section to post, you must had posted it on "Server Support"
Re: [Help]PHP and Query -
Fico62 - 12.09.2012
Quote:
Originally Posted by iPawner
Wrong Section to post, you must had posted it on "Server Support"
|
I don't think that's server support its more php than server couse i can get players but i need to write that line and make it moves on some time...Sorry if iam wrong.
Re: [Help]PHP and Query -
Si|ent - 12.09.2012
This section is fine for PHP questions.
Unfortunately I know nothing about PHP so cant actually assist you
Re: [Help]PHP and Query -
BlackBank - 12.09.2012
What i know is that you can use this function for it:
http://www.php.net/manual/en/function.imagepolygon.php
There are more functions to create lines and images with PHP:
http://php.net/manual/en/book.image.php
Re: [Help]PHP and Query -
mamorunl - 12.09.2012
You can also look into ****** Graphs.
Re: [Help]PHP and Query -
R@f - 12.09.2012
You can get the stats using a hourly cron on a PHP script which will query the server and put the amount of players in a MySQL Database. To generate a graph, you can use the pChart library :
http://www.pchart.net/
I did this some months ago, I'll try to find the code again tomorrow.
Re: [Help]PHP and Query -
Fico62 - 13.09.2012
Quote:
Originally Posted by R@f
You can get the stats using a hourly cron on a PHP script which will query the server and put the amount of players in a MySQL Database. To generate a graph, you can use the pChart library : http://www.pchart.net/
I did this some months ago, I'll try to find the code again tomorrow.
|
Thanks, please contact me if you find code.
Re : [Help]PHP and Query -
R@f - 13.09.2012
I couldn't find the code so I recoded it today, here it is :
https://sampforum.blast.hk/showthread.php?tid=377232