Hi,
I have integrated cpg into my site. At the moment I am running two auth systems - 1 for areas of the site and 1 for cpg. Both systems use the same mysql table. I would like to avoid having my users log in twice!!
Question is: can one integrate the cpg authentification method on other pages not directly related to cpg?
Cheers
Jimbo
sure, just "borrow" coppermine's authentification (cookie handling) and use it on other pages as well.
GauGau
Thanks GauGau, so I suppose that means including the file init.inc.php. Or is it another file. Sorry I'm not that advanced on programming!!
Thanks again
Jimbo
I recommend not including the whole file, but take out the authentification bits and create a separate file out of it and include that. Remember that cookie handling (http headers) has to be done before the output starts.
GauGau
Cheers for all your help, I have to admit I've tried all morning but to no avail. :x
I'll try again but if you could offer some pointers I'd be most greatful
Danke!
Jimbo