AdBlock Detected

We provide high-quality source code for free. Please consider disabling your AdBlocker to support our work.

Buy me a Coffee

Saved Tutorials

No saved posts yet.

Press Enter to see all results

Simple URL Shortener PHP Script With Source Code

By pushpam abhishek
Listen to this article

Simple URL Shortener PHP Script With Source Code


This is a Simple URL Shortener PHP Script is developed using PHP and Mysql Database. This project also generates a shortened URL.

PHP & Mysql URL Shortener

PHP & Mysql URL Shortener


This PHP & Mysql URL Shortener project was developed using PHP, MySQL Database, HTML, JavaScript, jQuery/Ajax, and Bootstrap.

The application allows the users to shortened their given "long" URL. and returns some information about the website such as the website content (title, description, and image).

The PHP & Mysql URL Shortener application also has an Admin Panel where the admin user can manage the list of all generated URLs.


PHP & Mysql URL Shortener Features

  • URL Shortening
  • URL Redirects to Original Website when browsing
  • Responsive UI(User Interface)
  • Admin Panel(password protected)
  • List Generated links
  • Displays the Data of Shortened URL
  • Delete Generated link
  • Searchable List

How to Run PHP & Mysql URL Shortener

  • Open your XAMPP/WAMP's Control Panel and start Apache and MySQL.
  • Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  • Create a new database naming url_shortener.
  • Import the provided SQL file. The file is known as url_shortener.sql located inside the database folder.
  • Browse the Responsive URL Shortener Web App in a browser. i.e. http://localhost/url_shortener

Admin login
admin123


Share this post

pushpam abhishek

About pushpam abhishek

Pushpam Abhishek is a Software & web developer and designer who specializes in back-end as well as front-end development. If you'd like to connect with him, follow him on Twitter as @pushpambhshk

Comments