coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: andreasbs on November 22, 2006, 11:44:29 PM

Title: include coppermine on my website?
Post by: andreasbs on November 22, 2006, 11:44:29 PM
Hello, hope someone can help me eith this little problem :)

Im kind of new to php programing, but why can`t i do this somewhere on my website?

<?PHP
include("/cpg14/index.php?cat=10001");
?>

and make it show my gallery? :(



Regards Andreas
Title: Re: include coppermine on my website?
Post by: Joachim Müller on November 23, 2006, 04:23:16 AM
Coppermine can not be integrated into another page using PHP's include or require command, because then the headers are already sent and subsequently Coppermine's cookie auth doesn't work.
Title: Re: include coppermine on my website?
Post by: Sami on November 23, 2006, 05:52:07 AM
Then use cpmFetch (http://forum.coppermine-gallery.net/index.php?board=87.0)
Title: Re: include coppermine on my website?
Post by: andreasbs on November 24, 2006, 12:13:46 AM
Quote from: Sami on November 23, 2006, 05:52:07 AM
Then use cpmFetch (http://forum.coppermine-gallery.net/index.php?board=87.0)

I loked at that, but i could not make it show the page i wanted. Could you show me how. i want to show a specific user folder.


A
Title: Re: include coppermine on my website?
Post by: Sami on November 24, 2006, 12:25:36 AM
post a new thread to related board