PHP Classes

File: example-urlrewriter/index.php

Recommend this page to a friend!
  Classes of Cesar D. Rodas   Url Rewriter   example-urlrewriter/index.php   Download  
File: example-urlrewriter/index.php
Role: Example script
Content type: text/plain
Description: Example page
Class: Url Rewriter
Redirect requests according URL rewriting rules
Author: By
Last change:
Date: 16 years ago
Size: 584 bytes
 

Contents

Class file image Download
<h1 align="center">Welcome to URL Rewriter</h1>
<p align="center">Matching URLs</p>
<hr />
<center>
<a href="/Paraguay/">Paraguay</a><br />
<a href="/Argentina/index.html">Argentina</a><br />
<a href="/Brasil/index.html">Brasil</a><br />
<a href="/string-1-site-2.html">Something</a><br />
</center>
<hr />
<p>Params</p>
<p><pre><?php print_r($urlVars); ?></pre></p>
<p align="center">Do not match</p>
<hr />
<center>
<a href="/china/">china</a><br />
<a href="/chile/index.html">chile</a><br />
<a href="/foo-foo-56456465.html">Something</a><br />
</center>
<hr />