Skip to content

🔗 It is a small set of PHP scripts that will help you in shortening your url.

License

Notifications You must be signed in to change notification settings

lboy235/url-shortener

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL SHORTENER

It is a small set of PHP scripts that will help you in shortening your url by which you can get a more precised version of your url at ease.

##DATABASE USED

  • Database Name : urls
  • Table name : Link
  • with some sample inputs
id url Code Created
1 http://amarpandey.me 5yc1u 2016-01-29 23:46:41
2 http://amar.com 5yc1v 2016-01-29 23:47:57
3 http://yahoo.com 5yc1w 2016-01-29 23:49:32
4 http://github.io 5yc1x 2016-01-29 23:52:12

Basic UI : url-shortener

Enter the domain in the input box. In order to find whether a url is valid or invalid there are two check avilable.
one is the inbuilt check of HTML5 (type="email") this by default checks the validity of url and the other is the manual check using php (FILTER_VALIDATE_URL).

url-shortener

If all the things worked correctly, then you will get output something like this : url-shortener

About

🔗 It is a small set of PHP scripts that will help you in shortening your url.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 75.9%
  • CSS 24.1%