Thread
:
Need quick php code - random page by day
View Single Post
09-10-2005, 04:22 PM
mortenb
Confirmed User
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
this script pulls links using the day of the year as it's base..
put the urls in a file called urls.txt - one on each line
then put this in a .php file
<?php
$urls = file("urls.txt");
echo trim($urls[date("z")]);
?>
mortenb
View Public Profile
Find More Posts by mortenb