New Random Text PHP Script Free Download

New Random Text PHP Script Free Download

 

How To Install? Its So Easy

1. Edit Text.txt
2. Upload text.php and text.txt
3. Add <? include ("text.php"); ?> On Your Page Where You Want To See The Random Text To Be Displayed
4. Or Just Add This Code Where You Want The Random Text To Be Displayed

 
 $xfile = @file("text.txt");
$random_num = rand (0,count($xfile)-1);
$udata = explode("::",$xfile[$random_num]);
echo $udata[1]; //a random text line from the text file will be displayed

 

5. And Thats It yahoo!

 

 

 

Comments

Popular posts from this blog

Motos Android Mame Game Download

StatusNet Micro Blog PHP Script Free Download

1941 Counter Attack (Japan) Windows Game Download