I'm using JosePHP's block-random.php found at this<!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&name=phpWiki&file=index&pagename=Random%20Block%20-%20Top%2010%20Albums%20and%20Last%205%20Updated%20Albums%20Block%20Hack" TARGET="_blank">Random-Block.php link.</A><!-- BBCode End -->
After renaming and copying the files, I tried inserting the code into my page a couple of ways:
1) I used an iframe and referenced http://<mysite.com>/gallery/block-random.php.
2) I used <!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE><?php include("http://www.<mysite.com>/gallery/block-random.php"); ?> </TD></TR></TABLE><!-- BBCode End --> and made the referring page a *.php file.
In either case, the page doesn't display a photo. Instead, it displays all of the code from random-block.php.
I'm sure the answer is obvious to someone more experience. Could someone suggest what I'm doing wrong here?
Thanks,
Melissa
Posts: 172
Can I see the site please so I can see what is really wrong here
Thanks