PHP Tutorials: Full URL Shortener (Part 5/8)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,558
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 2, 2011

A complete guide to creating a URL shortener website from the start. Uses jQuery to create an easy to use interface.

Official website
http://phpacademy.org

Support Forum
http://phpacademy.org/forum

Follow us on Twitter!
http://twitter.com/phpacademy

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • Why not just do a base conversion on the url_id column? It would save you from having to generate random codes and having to check for duplicates. Much more robust, I'd say.

  • @harryrockths Not true, they aren't doubled because "a" isn't equal to "A", if you doubled the numbers "1" is still equal to "1" because there is not lower and upper case. "a" isn't equal to "A" because it's case sensitive.

  • just a thought but in the charset letters have double the chance of appearing so if you entered each number twice as well this would even out the odds a bit

  • lol, i entered this video thinking it was the third part, started watching and... WTF?!

  • second

  • first

    

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more