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: Embbading coperming gallery into PHP page  (Read 2923 times)

0 Members and 1 Guest are viewing this topic.

Wladimir

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • Art of Wladimir
Embbading coperming gallery into PHP page
« on: January 08, 2007, 02:31:47 pm »

Well, I found this topic http://forum.coppermine-gallery.net/index.php?topic=38955.0
but that's HTML page, I want to ask you how can I embad gallery into PHP page with include() command

I tried juts <?php include(gallery/index.php ?> but it doesn't work corectly, because it doesn't show images, files, it's just plain text, and I thought that it must be in same directory where is the page I included gallery... I'll expplane if you don't understand  ;D

My gallery path: http://www.domain.com/gallery/index.php
My site default: http://www.domain.com/index.php

I want to gallery/index.php to index.php

when I type include(gallery/index.php) it show gallery index but not the files...

Please help and thanks for reading!
Logged

Nibbler

  • Guest
Re: Embbading coperming gallery into PHP page
« Reply #1 on: January 08, 2007, 03:20:07 pm »

You can't include() Coppermine, it doesn't work like that. Please search the board before posting.
Logged

Wladimir

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • Art of Wladimir
Re: Embbading coperming gallery into PHP page
« Reply #2 on: January 08, 2007, 04:02:09 pm »

So what should i do to embad my gallery?
Logged

Nibbler

  • Guest
Re: Embbading coperming gallery into PHP page
« Reply #3 on: January 08, 2007, 04:20:10 pm »

Create a theme that matches your site.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.