I was wondering if anyone here may have an example of php code for sample for a login script that i want integrate my own website with my own login page to work with coppermine gallery.

I have a website and i want to have my own login page so that when my visitors go to the gallery section if they are already logged in, it will show as logged in at the coppermine gallery instead of having users to login back again. I don't know what cookie to use. I visited oppermine-gallery.net but i could not find the answer, I was going to sign up and ask, but there an administrator there who sound pretty mean i think its GauGau...
i've searched everywhere tyring to figure out how i can use my own login script. This is the closest i've come to the answer to my question:

Bridging with my site