Call us Toll-Free:
1-800-218-1525
Live ChatEmail us

 Sponsors

V0o039s Homepage Randomator

Code Wizard, 12-30-2006

Are you bored with seeing the same homepage everyday? I was, till I found "V0o's Homepage Randomator"!! Just follow the instructions to install, set your browser homepage to this new page and Robert is your Mothers Uncle!!

<?php

///////////////////////////////////////////////////////////////////////////////////
/// Name: Random Hompage Generator
/// Use: If you have lots of sites you hit on a daily basis
/// or you get bored of the same old homepage,
/// use this script to see a different homepage eachtime
/// you open your browser!
/// Author: V0oD0o
/// WWW: http://www.v0od0o.com
/// How: Make a file called "links.txt" and stick it in the same directory.
/// In this file, list all your favourite URL's, each on a new line.
/// *** THEY MUST START WITH THE HTTP:// ***
/// Thats it.
/// Permission: You may use this script as you see fit, if you use it,
/// drop me an email and let me know where!
/// Contact: v0o@v0od0o.com
///////////////////////////////////////////////////////////////////////////////////

// Globals

$file = "links.txt";

//Grab the data and stick it into an array.

$urls = file($file);

//Count the number of Links.

$num = count($urls);

//Grab the random number.

srand ((double) microtime() * 1000000);
$randno = rand(0, $num);

//Get the Random array element.

$itchytoe = ($urls[$randno]);

//Bang it to the header to redirect the page!

header ("Location: $itchytoe");
?>
Enjoyed this post?

Subscribe Now to receive new posts via Email as soon as they come out.

 Comments
Post your comments












Note: No link spamming! If your message contains link/s, it will NOT be published on the site before manually approved by one of our moderators.



About Us  |  Contact us  |  Privacy Policy  |  Terms & Conditions