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!

 

 

 

Read Me

 

Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *