Login   Register  
PHP Classes
elePHPant
Icontem

File: rand.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Robert Peake  >  webring 1.0  >  rand.php  >  Download  
File: rand.php
Role: Example script
Content type: text/plain
Description: returns a random URL in the webring
Class: webring 1.0
webring provides an easy-to-configure solution
Author: By
Last change:
Date: 2000-11-28 18:59
Size: 175 bytes
 

Contents

Class file image Download
<?PHP
require("webring.inc");
$wr = new webring("webring.urls",$HTTP_REFERER);
$url $wr->random();
?>
<META HTTP-EQUIV="refresh" CONTENT="0; url=<?PHP print($url); ?>">