Hello !
Is it possible to transfer the login and the password since another Web page to automate the connection ?
Any idea ?
http://coppermine-gallery.net/demo/cpg13x/docs/index.htm#integrating
I don't understant... How can i do with PHP langage and coppermine 1.3 ?
So you want to integrate with a custom system that is not listed in that page in the URL GauGau gave?
My system work whith easy php. I want to integrate cpg in my web site which is with some restricted accesses.
The table of the users was filled with all the registered people on my site. The aim is that the users are not identified a second time.
you'd have to come up with a custom bridge file that "hooks" to your custom user authentification app. Coppermine provides the API.
I have the impression that it is planned for forums php only. Is it possible to modify the file login.php or index.php of coppermine ? Or to send the user and password from an other php file ?
Use the bridge system, it's the only sensible way to do it.
It is in the Bridge directory ? Which file must i modify ?
Modify one that is similar to your system.
It's not very easy... Is there any other solution ? I must recover the user name via the url of the navigator to do the connection with coppermine.
Please, help.
look, we don't know your custom user authentification script, so we can not come up with a bridge file for your purposes. If you were able to code a custom user authentification script by yourself you're certainly capable to look at some bridge files, find out how they work and come up with your own bridge file. After all, there's no difference how your user authentification script stores user data (inside a database or a plain text file). The bridge basically makes coppermine read the cookie from your other app that provides user authentification, then it needs to read the user data source (database tables or plain text files) and compare the cookie data and user data from the lookup. If you have no idea what I'm talking about I suggest choosing another user autentification scheme (i.e. dropping your existing one) or hiring someone to create a bridge file for you.
Sending authentification by URL (GET method) is very unsecure and not recommended anyway.
Ok, thanks, i'm going to try to find a solution. Thanks for your explications.
When i try to create a cookie for coppermine i've got this error :
Warning: Cannot modify header information - headers already sent by (output started at c:\www\gallerie\cpg134\p_boot.php:3) in c:\www\gallerie\cpg134\p_boot.php on line 17
What does it means ?
How can i do to create a cookie to connect coppermine gallery automaticly ? What are the informations that i must declare into this cookie ?
Coppermine is open source software, read the source and that will tell you all you need to know.
you don't create a cookie for coppermine - the script does this already. Just make sure you have specified the cookie name properly in coppermine's config. Merged the two threads that deal with the same issue.