home
  news archive
  pr
  tutorials / how to's
  404 gallery
  downloads
  links
  about




icqgreetings.com




132 funky
+81 freaky
+ 75 funny
+94 misc
= 382404s total




 


1.subfuse.net
2.chairboy.com
3.bienenjagd.de
4.head-design.net...
5.i.tubescan.com...




1256082 visitors so far.



©2002-2006.
please do not reproduce/redistribute any material (text or design) from this page without my explicit written permission.
random text on your 404

IMPORTANT: this is a php tutorial. So you'll need PHP on the server to be able to run this script. The bold text shows where you have to customize the script.

Very simple and short script!

<?php
srand ((double) microtime() * 1000000);
$zitate = file("quotes.dat");
$i = count($zitate)-1;
print $zitate[rand(0,$i)];
?>

1. Copy and paste that code wherever you want the random quotes to appear on your 404 page.
2. Be sure that your 404 page has a .php ending. 3. Create a file called "quotes.dat" and put your quotes/phrases in. 4. Please be sure, that you put every quote on a single line.
5. Save quotes.dat and upload it in the same directory as the file with the code above.



I hope that works for you and if it doesn't, email for help at webmistress@404lounge.net.

<----// tutorials