PHP Classes

File: examples/relative.php

Recommend this page to a friend!
  Classes of Jake Bown  >  Urly  >  examples/relative.php  >  Download  
File: examples/relative.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: 6 years ago
Size: 298 bytes


Class file image Download

 * Relative - When a relative URL is given, it is appended to the domain when set.

require '../urly.php';

$url = '';
$path = '/Spry/samples/data_region/JSONDataSetSample.html';

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