PHP Classes

php url shortener: how to use php url shortener

Recommend this page to a friend!
  All requests RSS feed  >  php url shortener  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

php url shortener

Edit

Picture of julio vazquez by julio vazquez - 6 years ago (2018-03-13)

how to use php url shortener

This request is clear and relevant.
This request is not clear or is not relevant.

+1

can you explain how to use it php url shortener

Ask clarification

1 Recommendation

PHP URL Shortener Class: Shorten and expand URLs stored in MySQL database

This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Alexandre Sinício by Alexandre Sinício package author package author Reputation 50 - 6 years ago (2018-03-16) Comment

Maybe this class can help you understand how URL shortening works.

Basically, it creates an index of real-world-links and associates an alias to them. So very.long.url/way/too/long/to/remember' becomesshort.link/abc`. The two URLs are mapped on the backend and stored somewhere. When user tries to access the short link, the PHP server retrieves the real-world URL and redirects user to it.


Recommend package
: 
: