[Help]PHP and Query
#1

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...
Reply
#2

Wrong Section to post, you must had posted it on "Server Support"
Reply
#3

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.
Reply
#4

This section is fine for PHP questions.
Unfortunately I know nothing about PHP so cant actually assist you
Reply
#5

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
Reply
#6

You can also look into ****** Graphs.
Reply
#7

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.
Reply
#8

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.
Reply
#9

I couldn't find the code so I recoded it today, here it is : https://sampforum.blast.hk/showthread.php?tid=377232
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)