Skip to content

Chart to your URL Shortener with Statistics.

Hello

I decided to implement a Chart vision of the access to a address of the last 30 days. THe system that I choosed is Open Flash Chart.

The new methods:
getAccess($id) – Return an Associative Array with the access by date and the total
formatData($data) – Receive the access of getAccess and transform it in a Numeric Array.
criarLabels() – Create the labels to the bottom part of the chart.

If you want to access it, you have to manually get the ID and use http://www.example.com/diretorio/chart.php?id=ID where ID is UID from the MySQL table.

Example:

URL Shortener with Statistics and Chart.

Creating your own Url shortener
Statistics on your URL Shortener

Best Regards,
Matheus

PS: Don’t forget the Rewrite Rules.

Published inMySQLphp

1,052 Comments

  1. http://wwwings.es/
    Wwwings se presenta como una agencia especializada dedicada al publico en Espana, que ofrece un enfoque integral a quienes buscan resultados, valorando en los resultados. Mas informacion en esta pagina.

  2. WilliamMeani WilliamMeani

    Статья посвящена анализу текущих трендов в медицине и их влиянию на жизнь людей. Мы рассмотрим новые технологии, методы лечения и значение профилактики в обеспечении долголетия и здоровья.
    Узнать из первых рук – [url=https://spb.info-leisure.ru/2023/09/25/vyxod-iz-zapoya-na-domu-put-k-osvobozhdeniyu-ot-alkogolizma-i-narkomanii/]spb detox24[/url]

Leave a Reply

Your email address will not be published. Required fields are marked *