Recommend this page to a friend! |
Download |
Info | Example | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 308 | All time: 7,340 This week: 455 |
Version | License | PHP version | Categories | |||
tiny-url-with-php 1.0 | Freeware | 5 | HTTP, PHP 5, Databases |
Collaborate with this project | Author | |
tiny-url-with-php - github.com Description This class can create short URLs storing them in a MySQL database. |
<?php |
Generate Tiny URL with PHP and Redirect to the Origional URL.
Bharat Parmar
1.0
1) PHP Version : 3.0 and above
1) example.php : Example Script file
2) index.php : This file will redirect to the Origional Long URL.
3) class/Tinyurl.class.php : Main Class file which includes methods for the Script.
4) database.sql : Database Structure for the script.
1) Set Your Site URL (Application URL) in the class/Tinyurl.class.php file ($this->SiteURL)
2) Set Your Database Connection in the DBConnection Method
3) Now you can created unlimited Tiny URL from example.php file.
Files (5) |
File | Role | Description | ||
---|---|---|---|---|
class (1 file) | ||||
database.sql | Data | Database File | ||
example.php | Example | Example Script | ||
index.php | Example | Example Script | ||
README.md | Doc. | Read Me File |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.