View Single Post
Old 03-25-2007, 09:42 PM  
Napolean
Old school
 
Napolean's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: Kettering, OH
Posts: 4,327
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()&#37;5);

include($url[$no. 01234]);
?>
As you can see neither work
change "$no. 01234" to simply "$no"
__________________
Need a programmer? (Desktop/Web Applications) --- Skype: napoleande
Napolean is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote