Ok heres the deal, Im having an idea for a contest coming up.. but heres the problem, my sig needs to show 1 of 10 random pics, I've already done this, my .htaccess redirects the pic to a .php, which then pics the img, that works fine. now heres the thing, when the person clicks the sig, its going to load a site, but the site needs to know what pic was clicked on.
I thought i could use cookies for this, (dont worry, everyone who see's the sig woudlnt get a cookie, only people with the "activation cookie" would get this cookie) What i did is, lets say sig 3 was made, I made make a cookie that says "3" for its content. Now this works when you do it on my server.
if you type in the www.mysite.com/picture.jpg it switched to the php, and sets the cookie, however, when you do [img]www.mysite.com/picture.jpg[img] (with [/img] ) it shows the pic at random, but dosnt give the cookie. why is this?
and what else could i use.
I thought i could use cookies for this, (dont worry, everyone who see's the sig woudlnt get a cookie, only people with the "activation cookie" would get this cookie) What i did is, lets say sig 3 was made, I made make a cookie that says "3" for its content. Now this works when you do it on my server.
if you type in the www.mysite.com/picture.jpg it switched to the php, and sets the cookie, however, when you do [img]www.mysite.com/picture.jpg[img] (with [/img] ) it shows the pic at random, but dosnt give the cookie. why is this?
and what else could i use.
