coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: gpitta on February 04, 2005, 04:47:23 PM

Title: How check two different cookies
Post by: gpitta on February 04, 2005, 04:47:23 PM
Hello guys,
it's possible in 'ratepic.php' file to check if it they exist other cookies that was created by the web site? For example:

Coppermine creates a first cookie named xxxxxxxx[1].txt with "cpg132_data" inside
My web site creates (in the index page) a second cookie named frame[1].txt with "some text" inside

i want that users can votes only if the two cookies they exists. It's possible to do? and how?

I think that i must change something in ratepic.php at line:

// If user does not accept script's cookies, we don't accept the vote

Thanks a lot!!

G.

Title: Re: How check two different cookies
Post by: gpitta on February 07, 2005, 06:59:07 PM
Resolved myself