Intergration into a php website Intergration into a php website
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Intergration into a php website

Started by Shunt9, December 19, 2006, 01:03:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Shunt9

Sorry if this has been asked before, but I did try searching first, it's hard to find specific keywords for this.

I want to intergrate coppermine into my website by using php. I've seen solutions where the coppermine theme gets changed so that it mimics the website, but I don't want to do this, because i'd rather have the whole site run off one base page (means less updating/adapting when I want to change things in the future). I tried doing this by buffering the index.php of coppermine into a variable, but this didn't work (coppermine didn't recognize it's include paths anymore since the gallery was installed in /gallery/ and not the base).
If possible, I want to archieve this without editing coppermine's files, so that updating coppermine in the future will be most easy.

So I guess my question basically is, how would I archieve this?

Shunt9

Nibbler

You can't. Coppermine cannot work like that.