Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: How to display random images on .shtml page through cpmFetch?  (Read 4269 times)

0 Members and 1 Guest are viewing this topic.

samurai-lupin

  • Coppermine newbie
  • Offline Offline
  • Posts: 1

Hello,

I would like to use cpmFetch to display 4 random images on my .shtml Mainapge.

I have used cpmFetch succesfully before on my php pages but can't get it to work with my shtml page?!

Could someone please kindly let me know what code I would need to insert in my shtml file?

My mainpage is located at root/index.shtml
SMF at root/thunting/smf
Coppermine at root/thunting/smf/coppermine
cpmFetch at root/thunting/smf/coppermine/cpmFetcg

Thank you for any advice you may have!

Christian
Logged

natalina

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 96
    • Interior & Architecture
Re: How to display random images on .shtml page through cpmFetch?
« Reply #1 on: November 04, 2008, 11:26:29 pm »

Maybe someone else needs the solution  :) U only have to open your htaccess file add one line:
code:
AddHandler application/x-httpd-php .php .html .htm .shtml
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.