PHP Classes

File: examples/incomplete.php

Recommend this page to a friend!
  Classes of Jake Bown   Urly   examples/incomplete.php   Download  
File: examples/incomplete.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Urly
Clean and modify relative or absolute URLs
Author: By
Last change:
Date: 8 years ago
Size: 217 bytes
 

Contents

Class file image Download
<?php

/*
 * Incomplete - When a url is given with www. or http://, it is automatically added
 */

require '../urly.php';

$url = 'adobe.github.io';

$urly = new urly($url);
$result = $urly->run();

echo
$result;


?>