How check two different cookies How check two different cookies
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

How check two different cookies

Started by gpitta, February 04, 2005, 04:47:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gpitta

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.


gpitta