Scripts
Url Shortener

[ad_1]
This is advanced URL Shortener, which allows you to create your shorts URLs, for example domain.name/a3vd.
Also users will have possibility to share links in popular social networks or save link as a QR-Code.
In addition, this application has admin panel. You can easy customize any part of application starting with language and ending with social settings. Also flexible and advanced url search module, in admin panel, makes your work easier to control URLs.
Applications demo
Site: http://short.php5developer.com
Admin panel http://short.php5developer.com/admin
Login: admin
Password: admin
Features
- Your own URL shortening service
- Admin URL Managment system, advanced searching and sorting
- QR Code
- Autocopy button
- Social Sharing
- SEO, Og propirties customizaiotn
- Adsense, analytics support
- Changing interface language
- Like buttons
- Google, Bing, Yandex verification
- Clean and friendly user interface
- Installation file
- Developer API
- Statistic
Installation
Run installation file (http://domain.name/install.php). Follow installation instructions.
AFTER INSTALLATION DO NOT FORGET TO REMOVE INSTALL.PHP FILE AND CHANGE ADMIN DATA IN ADMIN PANEL.
Note. If your main index.php file located not in the root folder
– you need to add RewriteBase /subfolder/ into .htaccess file after RewriteEngine on
Documentation
http://docs.php5developer.com/url-shortener/
Developer API
Developers can easy use this API by request http://domain.name/api?url=your_long_url URL.
This service can handle 3 response methods:
- XML
- JSON
- Array (serialized)
Example:
http://domain.name/api?url=url&method=array
You will get response as serialized array
Updates
v 1.3 – 2019.05.30
- PHP 7.3, PHP 7.2, PHP 7.1 Support
- MySQL strict mode support
Update Info
* Do a backup of root web directory.
* Create new database and import root/app/data/structure_only.sql
* Export old database data (do not export structure) and import into newly created database.
* Open root/app/config/db.php and set new database name
dbname=new-db-name
* Remove root/framework directory and upload new “framework” directory from archive.
* Replace modified files.
~rootappcontrollersbackendApplicationController.php ~rootappcontrollersbackendSettingsController.php ~rootappcontrollersfrontendApiController.php ~rootappmodelsShortlink.php ~rootappviewsbackendsettingslang.php
v 1.2 – 2018.02.11
- Flash clipboard replaced by javascript clipboard
- Timer on redirect page is not active when browser tab is not active
Already bought? Add / replace listed below files.
Modified files ~rootappviewsfrontendapplicationindex.php ~rootappviewsfrontendapplicationredirect.php ~rootappviewsfrontendlayoutsmain.php ~rootjsfrontend.js New file: ~rootjsclipboard.min.js Removed files: ~rootjsZeroClipboard.js ~rootflash directory
v 1.1 – 2016.11.20
- Excluded possibility to generate short URLs from the same host. i.e. you can’t short “mydomain.com/xxx” URL if you installed script in “mydomain.com”
Already bought? Replace following file.
~root/app/components/Helper.php ~root/app/controllers/frontend/ApiController.php ~root/app/controllers/frontend/ApplicationController.php ~root/js/frontend.js
v 1.0 – 2016.01.10
- Updated Cookie EU Law Javascript plugin
Already bought? Replace following file.
~root/js/cookieconsent.latest.min.js
v 0.9 – 2015.09.28
- Solution for EU cookie law
Already bought? Replace/add below listed files.
~root/js/cookieconsent.latest.min.js ~root/app/components/FrontEndController.php ~root/app/config/cookie_law.php
v 0.8 – 2015.03.23
- Small bug fixes
Already bought? Replace/add listed below files
Modified files:
~rootjsfrontend.js ~rootappcontrollersfrontendApiController.php ~rootappcontrollersfrontendApplicationController.php
New file:
~rootappcomponentsUrlValidator.php
v 0.7 – 2015.02.17
- Improved URL recognition pattern
Already bought? Replace listed below files
~rootjsfrontend.js ~rootappcontrollersfrontendApiController.php ~rootappcontrollersfrontendApplicationController.php
v 0.6 – 2015.02.06
- HTML, JS, PHP bug fixes
Already bought? Firstly, open rootappconfigmain.php and add new key=>value pair into urlManager array
'urlManager'=>array( ... 'routeVar'=>'ar', ... )
Finally, replace listed below files and remove all files from rootappruntimecache directory.
~rootjsfrontend.js ~rootappviewsfrontendapplicationindex.php ~rootappcontrollersfrontendApiController.php ~rootappcontrollersfrontendApplicationController.php
v 0.5 – 2015.01.07
- Some bug fixes
Already bought? Replace/add listed below files.
Modified files:
~rootappviewsfrontendapplicationindex.php ~rootjsfrontend.js ~rootappviewsfrontendapplicationredirect.php
New files:
~rootappcomponentsHelper.php
v 0.4 – 2014.06.05
Unique title on "redirect" page Possibility to set limit of requests for users One URL can be shortened only once.
Already bought?
1. Run following queries into DB.
2. Add/replace below listed files.
3. Clean cache direcotry (~app/runtime/cache/)
NOTE! Make DB/Code backup before do changes.
Queries:
ALTER TABLE `sl_url` ADD COLUMN `Md5Url` VARCHAR( 32 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL; UPDATE `sl_url` set Md5Url = MD5(Url); ALTER TABLE `sl_url` ADD INDEX `ix_md5url` ( `Md5Url` ); ALTER TABLE `sl_url` ENGINE = InnoDB; INSERT INTO `sl_lang_settings` (`Key`, `Value`, `end`) VALUES ('Redirect_Title', 'You are going to %s', 'front'); DROP TABLE IF EXISTS `sl_request_count`; CREATE TABLE `sl_request_count` ( `day` date NOT NULL, `ip` varchar(46) NOT NULL, `total` int(10) unsigned NOT NULL, PRIMARY KEY (`day`,`ip`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; ALTER TABLE `sl_basic_settings` ADD `API_Request` INT unsigned NOT NULL DEFAULT '1000' AFTER `Redirect`;
Files:
~app/models/Basic.php ~app/views/backend/settings/basic.php ~app/components/CShortlink.php ~app/components/FrontEndController.php ~app/models/Shortlink.php ~app/controllers/front/ApplicationController.php ~app/controllers/front/ApiController.php ~app/data/url_shortener ~js/frontend.js ~app/views/frontend/error.php ~app/views/frontend/layouts/main.php New files: app/components/ShortUrlAccessFilter.php app/commands/ClearstatCommand.php app/config/console.php
Version 0.3
– Bug fix
– QR-Code generator works without curl library
Version 0.2
– Added countdown timer before redirect.
– Documentation has been updated.
Version 0.1
– Bug fixes
[ad_2]
Source
-
Wordpress Plugin8 months ago
Real Estate Agency Portal
-
Video Templates2 years ago
Cartoon Logo Reveal | After Effects Template
-
Scripts2 years ago
Signup Php Portal
-
Wordpress Plugin3 years ago
AdLinkFly – Monetized URL Shortener
-
Scripts2 years ago
GetFund – A Professional Laravel Crowdfunding Platform
-
Software3 years ago
Ardfry psd codec free download With Licence Key
-
Video Templates2 years ago
Trendy Sales Badges – MOGRT
-
Wordpress Themes2 years ago
VideoPro Video WordPress Theme 2.3.2.3