Random picture block

Ventana

Joined: 2005-04-09
Posts: 1
Posted: Sat, 2005-04-09 01:15

I am trying to install the random picture block on my web page. I folowed all the instructons found elswhere on this site and made all the changes as required to the php code. I created a block with the url as directed. all I get is the url listed in the block. if i enter the url directly into my browser it comes up ok so I know the path is correct.

http://www.iron*******.net/modules.php?op=modload&name=/photos/&file=index&include=block-random.php";

the code for the block I created is ........................

<?php
if (eregi("block-creator.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$content .= "http://www.iron*******.net/modules.php?op=modload&name=/photos/&file=index&include=block-random.php\";";
?>
.......................................................................................

Can anyone help?

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2005-04-09 06:52

[Moved to the correct forum]