View Full Version : Set Cookie via image PHP

09-02-2006, 04:40 AM
I have an "image" loading from php script using mod_rewrite but I need to set a cookie through that image and read it later. Basically I'm trying to create a logger program. How would I return the cookie via the "image" and also read the cookie through that "image"? Thanks.


Lee Stevens
09-02-2006, 11:23 AM
I'm not quite sure but a onclick solushion mite be avablible

09-05-2006, 05:51 AM
What do you mean onclick? It has to be setting the cookie via php but through an image. Like...

Return image with cookie embedded in image.