Ok again i can see and understand exactly what that means and what it will do, and i think i have made a small mistake.

This is what i have done:

PHP Code: 
<?php 
if(isset($_GET['pm'])){ 

 
$urls file('url.txt');
$url $urls[array_rand($urls)];  

?> 

<html>  

<head>  

<title>Torrent Image Hosting</title>  

<script type="text/ecmascript">  

            // <![CDATA[ 

             

                function skip_page() 

                {
I have added the url.txt to the root and it looks like this:

Code: 
http://ovhdirect.co.uk
http://gamezscope.com
http://bbc.co.uk
http://google.co.uk

And finaly i have added $url into advert.php like this:


PHP Code: 
</table>  

<
iframe name='content' src='$url' width='100%' height='100%'/>  

<
noframes

<
p><a href='/my_classes/pop_under_class/example.php?id=1'>Continue to page</a></p

</
noframes
But if you click here it dosn't quite work:



Thanks
RR