Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: How check two different cookies  (Read 2559 times)

0 Members and 1 Guest are viewing this topic.

gpitta

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
How check two different cookies
« 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.

« Last Edit: February 07, 2005, 07:05:34 pm by TranzNDance »
Logged

gpitta

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: How check two different cookies
« Reply #1 on: February 07, 2005, 06:59:07 pm »

Resolved myself
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.