Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Do we have to rename the embedding page to .php?  (Read 4170 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.018 seconds with 19 queries.