URL Shortener Without Database PHP Script

URL Shortener is a PHP script which create a shortened URL from long URL, it creates Shorten URL Without Database.

Create URL shortener without database using PHP, it's very easy with this PHP script.

How To Create URL Shortener?

We need simple HTML Form, and shortener.php file for processing the request, and we need redirect.php file to redirect the user to a long link, the idea needs to databases, but we will use another way, instead of databases, we will use TXT files to instead of database. Our PHP script is safely and simple and works good.

URL Shortener is a PHP script that takes long URLs and squeezes them into fewer characters. This script doesn't use any 3rd API and without use any database, so you can deploy it easily use your own domain.

URL shorteners such as TinyURL and bit.ly are all the rage these days, with their popularity having skyrocketed alongside Twitter and mobile device usage. The idea is a fairly simple one: accept as input an unacceptably long URL and provide in return one that fits into the tiny confines of a mobile device and Twitter's 140-character limit. Afterwards, anytime the abbreviated URL is clicked, the user is first sent to the shortening service, at which point the abbreviated URL is compared with a database, the original URL retrieved, and the user redirected to the desired location.

Beyond being able to provide the immediate utility of abbreviating a lengthy URL, URL shortening services are able to provide users with a number of other useful features, such as clickthrough statistics, referrer details, and even information about link diffusion such as who else has mentioned it on Twitter.

URL Shortener Features:

  • Get shorten URL from long URL.
  • Without using ajax technology.
  • Without database.
  • Unique responsive design.
  • Simple and clean-looking PHP source code.
  • The option to specify custom short URLs when shrinking.
  • Statistics on redirection usage (this function can be done with a few PHP code lines).
  • An API that supports the same commands as the web interface.
  • Your choice of all-lowercase or mixed-case short URLs, and whether or not to avoid lookalike characters.
  • Theoretically works with a huge number of URLs in the Windows/Linux system.
  • The ability to add multiple redirections that point to the same long URL
  • Will return http: or https: short URLs to match the current protocol your server is responding to, by default; you can manually specify your preferred protocol.

Requirements:

  • PHP 5.x or higher
  • Server with PHP
  • Support .htaccess files

Instructions:

  • Unpack all files from zip.
  • Paste all unpacked files to root folder allowed for web server.
  • Open the URL where you just copied the files.
  • Done!

     

Write a review

Note: HTML is not translated!
    Bad           Good
Captcha

URL Shortener Without Database PHP Script

  • Product Code: MOD190426173049
  • Availability: In Stock
  • Viewed: 859
  • Sold By: BestScripts
  • Seller Rating:
  • Seller Reviews: (0)
  • $9.95

  • Ex Tax: $9.95

Related Products

PHP FileManager

PHP FileManager

Digital Online File Manager is a Web Based File Manager which written in PHP. Manage Your Files Ef..

$19.95 Ex Tax: $19.95

PHP Login and User Management

PHP Login and User Management

PHP Login and User Management is an User Registration & Login and User Management System With Admin ..

$19.95 Ex Tax: $19.95

PHP Appointment Scheduler

PHP Appointment Scheduler

PHP Appointment Scheduler is an online appointment scheduling software to boost sales and manage b..

$49.95 Ex Tax: $49.95

PHP Web Page Password Protect

PHP Web Page Password Protect

Protect web page with a simple password, Password protect PHP Script. The best and easiest way to l..

$9.00 Ex Tax: $9.00

Web Crawler and Scraper for Emails, Links, Phone Numbers and Image URLs, PHP Source Code

Web Crawler and Scraper for Emails, Links, Phone Numbers and Image URLs, PHP Source Code

Web Crawler and Scraper for Emails, Links, Phone Numbers and Image URLs. Web Crawler and Scraper ..

$29.95 Ex Tax: $29.95

PHP Proxy Layer Source Code

PHP Proxy Layer Source Code

Fetch Cross-domain Content Using a PHP ProxyIf you've ever tried to fetch a resource outside of your..

$19.95 Ex Tax: $19.95

Web Crawler and Image Downloader for PHP

Web Crawler and Image Downloader for PHP

Web Crawler and Image Downloader application is used to collect a multitude of images from more we..

$39.95 Ex Tax: $39.95

PHP Script for PDF, DOCX, HTML Invoice Maker/Creator

PHP Script for PDF, DOCX, HTML Invoice Maker/Creator

PHP Script to Make an Invoice - Save to PDF, DOCX, HTML formats PDF/DOCX/HTML Invoice Generation ..

$39.00 Ex Tax: $39.00

HTML5 PDF Annotation Source Code License

HTML5 PDF Annotation Source Code License

HTML5 PDF Annotation Source Code License HTML5 PDF Annotation is a HTML5 Based Document & Image Ann..

$5,960.00 Ex Tax: $5,960.00

Review Comments - Easy Comments & Review System PHP Script

Review Comments - Easy Comments & Review System PHP Script

Review Comments (eComments) - Easy Comments & Review System PHP Script eComments is a PHP comment..

$19.95 Ex Tax: $19.95

PHP Script Batch Send Emails

PHP Script Batch Send Emails

PHP Script to batch send the emails from Command Line or on schedule. Features: * Read email lis..

$29.95 Ex Tax: $29.95

HTML to PDF Conversion API

HTML to PDF Conversion API

HTML to PDF Conversion API is a professional solution that lets you create PDF from web pages and ..

$59.95 Ex Tax: $59.95

Tags: url shortener, php url shortener, shorten long url, shorten web url, short url, long url shorten, redirect url