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
Posts: 101
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
Posts: 3236
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