forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: asas on July 08, 2008, 06:38:14 am

Title: Do we have to rename the embedding page to .php?
Post by: asas 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
Title: Re: Do we have to rename the embedding page to .php?
Post by: capecodgal 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