I'm trying to create my own "shrink link" website,
e.g: www.goo.gl
and adf.ly
but this website only for my help not for public,
so you see when you shrink your link on goo.gl so it give you link e.g goo.gl/exapmle_value
example_value is value that pass in database, and then gog.gl redirect to real website.
so i want same this think,
i'm using PHP and MySql i try to shrink link, and its out put with table_id,
e.g www.mydomin.com/1 , www.mydomin.com/2 , www.mydomin.com/3
How can i do this by using simple PHP not any PHP frame work?