Is there ready solutions for their own service of short links?

Yes, actually, a SUBJECT. With the statistics of transitions.
July 8th 19 at 16:46
1 answer
July 8th 19 at 16:48
Solution
That's right as written - should approach this:
https://github.com/briancray/PHP-URL-Shortener
There are statistics, however, only the number of transitions.
You can still Google for "url shortener with statistics".
But for some reason I googled only the rubbish) and Therefore have got here) Thank you) - caleb_Stehr commented on July 8th 19 at 16:51
: Well I haven "github" added to the request :) - Daphne_Roob commented on July 8th 19 at 16:54
: this was developed by albert Einstein - Durward_Osinski commented on July 8th 19 at 16:57
: by the way, this does not consider the number of transitions. Will look for personal study. - caleb_Stehr commented on July 8th 19 at 17:00
: How so?
mysql_query('UPDATE' . DB_TABLE . 'SET referrals=referrals+1 WHERE id="' . mysql_real_escape_string($shortened_id) . '"');

Just have to insert - define('TRACK', FALSE); replace with define('TRACK', TRUE); - Daphne_Roob commented on July 8th 19 at 17:03
: Here referals I have not added. The track was played. - caleb_Stehr commented on July 8th 19 at 17:06

Find more questions by tags PHPHTML