PHP Classes

File: test-client.php

Recommend this page to a friend!
  Classes of Glen Scott   URL Normalizer   test-client.php   Download  
File: test-client.php
Role: Example script
Content type: text/plain
Description: Example script
Class: URL Normalizer
Normalize URLs according to RFC 3986
Author: By
Last change:
Date: 12 years ago
Size: 211 bytes


Class file image Download

require_once 'URLNormalizer.php';

$url = 'eXAMPLE://a/./b/../b/%63/%7bfoo%7d';

$un = new URLNormalizer();
$un->setUrl( $url );


// result: "example://a/b/c/%7Bfoo%7D"