Do we have to rename the embedding page to .php? Do we have to rename the embedding page to .php?
 

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]

Main Menu

Do we have to rename the embedding page to .php?

Started by asas, July 08, 2008, 06:38:14 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

asas

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

capecodgal

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