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: Do we have to rename the embedding page to .php?  (Read 4053 times)

0 Members and 1 Guest are viewing this topic.

asas

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Do we have to rename the embedding page to .php?
« on: July 08, 2008, 06:38:14 am »

This is an excellent script, great work vuud.

My simply question is: I would like to embed some of these SSI into my home page (inde.htm)

Can I do so without having to rename it to index.php? I don't mind renaming it to Index.php, but I am just afraid it will mess things up in terms of my links etc.

And I did try embeddeing the code for displaying last three images in an .htm page and didn't work. But it worked perfectly on a .php page.

Thanks a lot
Logged

capecodgal

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 123
Re: Do we have to rename the embedding page to .php?
« Reply #1 on: August 11, 2008, 04:52:26 pm »

i don't think you can load php code in a html file; you can load html in a php file but not vice versa if I recall - I think you will need a php file to use cpmfetch
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.