standalone!!! NO Postnuke or PHPNuke for me... :)

nonamer66

Joined: 2003-05-26
Posts: 3
Posted: Tue, 2003-05-27 05:38

What html tag do I insert into my html to make this work? I uploaded the php files but I cannot seem to embed it into the front page.

thanks,
nonamer66 :D

 
phgrove

Joined: 2002-10-10
Posts: 101
Posted: Tue, 2003-05-27 07:10

First make sure you file is renamed to .php from .htm or .html. Add the code <?PHP include("path to file") ?> where you want the random picture.

Peter

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Wed, 2003-05-28 06:39

i used "<!--#include virtual="/gallery/block-random.php"-->" to get mine working, i'll try the <?PHP> method now just to see :)

edit: i tried the above, but since my site is a .shtml instead of .php, it didn't work. of course, for my method to work you need to have server side includes working :)