View Single Post
Old 03-25-2007, 09:44 PM  
Dvae
Confirmed User
 
Dvae's Avatar
 
Industry Role:
Join Date: Feb 2005
Location: US
Posts: 5,326
Quote:
Originally Posted by Jon Clark View Post
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.
Dvae is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote