Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.
/ PHP_SUS Public archive

PHP Simple Managable Url Shortener (Create, Read, Update, Delete)

License

Notifications You must be signed in to change notification settings

abalesluke/PHP_SUS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(Archived)

Check the newer version: (https://github.com/abalesluke/SMUS)

PHP_SUS (Depricated)

PHP Simple-managable Url Shortener | CRUD(Create, Read, Update, Delete)

Demo site: https://url.craftverse.shop

Demo creds, Username: guest Password: guest

How to setup?

  1. Import the url.sql to your phpmyadmin/mysql database
  2. Put all the files to your htdocs
  3. Go to the folder named core and open config.php fill it up with your credentials.
  4. Login using default creds Username: ninja Password: ninja123

Note: In changing password you need to md5 hash it like this ninja_linkz:new_password

How does shortener works without seeing parameter from url?

if you download this repository and go to the folder named z you will see a file named .htaccess and below are the content inside that .htaccess

RewriteEngine On
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ ./index.php?code=$1 [L]

this means that using .htaccess to forward any subdirectory before /z/ subdirectory from the url to index.php?code= to be read as a code.

pls try/visit the demo site provided for further insight.


Preview

Login

img


Dashboard

img

About

PHP Simple Managable Url Shortener (Create, Read, Update, Delete)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages