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

854 Comments

  1. Davidshete Davidshete

    Эта статья сочетает познавательный и занимательный контент, что делает ее идеальной для любителей глубоких исследований. Мы рассмотрим увлекательные аспекты различных тем и предоставим вам новые знания, которые могут оказаться полезными в будущем.
    Заходи — там интересно – вывести из запоя в стационаре

  2. LFA 232
    LFA 232 is more than a regional card; it’s a high-stakes audition where the price of admission often comes at the expense of one’s inner self.

  3. DavidRus DavidRus

    Вывод из запоя на дому в Санкт-Петербурге с выездом нарколога, детоксикацией и восстановлением состояния в наркологической клинике «Частный медик 24»
    Подробнее тут – http://www.domen.ru

Leave a Reply

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