PHP Classes

File: asecretpassage.php

Recommend this page to a friend!
  Classes of Chouchen   PHP Short URL Generator   asecretpassage.php   Download  
File: asecretpassage.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Short URL Generator
Create short URLs storing them in a XML database
Author: By
Last change:
Date: 4 years ago
Size: 332 bytes
 

Contents

Class file image Download
<?
session_start
();
include
'class/ShortURL.php';

$url = new ShortURL();

$ret = $url->extractEverything();

echo
'<ul>';
foreach(
$ret as $unRet){
    echo
'<li> '.$unRet['attributes']['id'].' => <a href="'.$unRet['childs']['url'].'">'.$unRet['childs']['url'].'</a> => '.$unRet['childs']['hit'].' hits';
}

echo
'</ul>';