SHORT URL - Create Youtube-Like IDs With PHP

-- Alpha ID Make --

Need

How short long URL's to smaller one using PHP

Send URL From PHP page -steps 1

  1. Create a table for store (id,content) in your webserver
  2. Use alpha_id function convert id to alphaID value
  3. Send this to email eg: ( example_domain/alpha_id )
  4. Save this id to table
  5. AlphaID Generate function

In example_domain server - step2

  1. Create a index file
  2. Create .htacces file
  3. In index file , write code for get id and use alphaID function reconvert to original value
  4. Check this original value is exist on table on webserver
  5. If exist redirect the desired destination else redirect to 404 page
  6. .htaccess
  7. index.php