Quote:
Originally Posted by Jon Clark
OK, I have tried to lines of code... Neither are working for me...
First one is located at http://www.freepornation.com/test/index.php
Code:
<? $sl = rand(1,5);include ('1.htm'.$sl.'2.htm'.$sl.'3.htm'.$sl.'4.htm'.$sl.'5.htm'); ?>
Second one is located here http://www.freepornation.com/test/index2.php
Code:
<?php
$url[0] = '1.htm';
$url[1] = '2.htm';
$url[2] = '3.htm';
$url[3] = '4.htm';
$url[4] = '5.htm';
$no. 01234 = strval(rand()%5);
include($url[$no. 01234]);
?>
As you can see neither work 
|
You should take the time to learn the basics of PHP.
__________________
.
.
Arguing with a troll is a lot like wrestling in the mud with a pig, after a couple of hours you realize the pig likes it.
|