How check two different cookies How check two different cookies
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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