PHP Classes

File: example-aa-ur/index.php

Recommend this page to a friend!
  Classes of Cesar D. Rodas   Auto Ajax   example-aa-ur/index.php   Download  
File: example-aa-ur/index.php
Role: Example script
Content type: text/plain
Description: Example with Url Rewriter
Class: Auto Ajax
Update page parts with AJAX when links are clicked
Author: By
Last change: * Adding example with URL rewriter
Date: 16 years ago
Size: 761 bytes


Class file image Download
global $ajax;
<?php $ajax
->printjs() ?>
<h1 align="center">Welcome to URL Rewriter </h1>
<h1 align="center">and Auto Ajax test</h1>
<p align="center">Matching URLs</p>
<hr />
<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 />
<hr />
This page is downloaded by ajax.
//Printing Ajax section
<hr />
<a href="/china/">china</a><br />
<a href="/chile/index.html">chile</a><br />
<a href="/foo-foo-56456465.html">Something</a><br />
<hr />