PHP Classes

File: logic/statsLogic.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   PHP URL Shortener   logic/statsLogic.php   Download  
File: logic/statsLogic.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP URL Shortener
Application to create and expand short URLs
Author: By
Last change:
Date: 11 months ago
Size: 170 bytes
 

Contents

Class file image Download
<?php

$code
= $utils->sanitize($_GET['c']);

$db = new Framework\Database();

$shortener = new Framework\Shortener($db);

$stats = $shortener->getUrlInfoFromDb($code);;