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: 21978
  • Units Sold: 3
  • Sold By: BestScripts
  • Seller Rating:
  • Seller Reviews: (0)
  • $29.95


Available Options


Related Products

Responsive Ajax Contact Form

Responsive Ajax Contact Form

PHP Contact Form - Modern & Responsive Contact FormPHP Contact Form uses JavaScript to send filled d..

$9.95

PHP Email Validation

PHP Email Validation

PHP Email Validation - SMTP, MX Record and Regular Expression PHP Email Verification is a simple ..

$19.95

PHP Smart Currency Library

PHP Smart Currency Library

PHP Smart Currency Library Smart Currency PHP Library utilises the Smart Caching and Certain API ..

$19.95

PHP Ajax Mailer With Multiple Attachments

PHP Ajax Mailer With Multiple Attachments

PHP Ajax Mailer With Multiple Attachments Hey there, hope you are doing well, if you are looking ..

$19.95

HTML to PDF Converter Command Line with .NET and PHP Integration

HTML to PDF Converter Command Line with .NET and PHP Integration

HTML to PDF Converter is a Command Line software that offers the possibility to convert your HTML ..

$79.95

PDF Page Counter for All Sub-folders by PHP Script

PDF Page Counter for All Sub-folders by PHP Script

PDF Page Counter can be used to count the number of pages of all PDFs in current directory and all..

$59.95

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

BizSoft Invoice for small businesses

BizSoft Invoice for small businesses

BizSoft Invoice -- Online invoicing software for small businesses BizSoft Invoice is an online invo..

$49.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

GeoIP Locator

GeoIP Locator

GeoIP Locator PHP Script introduction GeoIP Locator is a PHP tool for tracking information of any I..

$19.95

HTML5 JavaScript Events Calendar Control

HTML5 JavaScript Events Calendar Control

HTML5 JavaScript Events Calendar Control is also an Events Schedule and Event Calendar. The HTML5 ..

$99.95

PDF to HTML5 Flipbook Converter Command Line

PDF to HTML5 Flipbook Converter Command Line

PDF to HTML5 Flipbook Converter Command Line is a Windows software. PDF to HTML5 Flipbook Converter ..

$59.95

Website Screenshot API for PHP

Website Screenshot API for PHP

Website Screenshot API (PHP Web Page Screenshot API) does capture screenshot of any webpage with o..

$59.95

PHP Email Extractor

PHP Email Extractor

PHP Email Extractor - the Best tool for extracting any email address. Extract email addresses from..

$19.95

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