Mattyspatty Posted January 26, 2007 Share Posted January 26, 2007 im struggling on something im trying to do with a cookie and a PHP generated image.the user visits a page, they have cookie data and i want the image to be able to read the cookie data. so far the image can show the IP through the REMOTE_ADDR thingybob :P.check it out here.[url=http://mattyspatty.com/image.php]mattyspatty.com/image.php[/url][url=http://mattyspatty.com/counter.php?id=mattyspatty&a=image]http://mattyspatty.com/counter.php?id=mattyspatty&a=image[/url]these identical, because im using mod_rewrite. perhaps this is a problem?on my image creation page(counter.php), the cookie "ME" is checked for existance, if it DOES NOT exist then ME is set to "not logged in". on the image.php page, i have set "ME" to "mattyspatty" but it is not passing through. i hope this is detailed enough for some feedback! im very tired and this problem is really irritating me! Link to comment https://forums.phpfreaks.com/topic/35753-trying-to-get-cookie-info-from-another-location/ Share on other sites More sharing options...
trq Posted January 26, 2007 Share Posted January 26, 2007 What is the question? Link to comment https://forums.phpfreaks.com/topic/35753-trying-to-get-cookie-info-from-another-location/#findComment-169441 Share on other sites More sharing options...
Mattyspatty Posted January 26, 2007 Author Share Posted January 26, 2007 [quote=mattyspatty]the user visits a page, they have cookie data and i want the image to be able to read the cookie data[/quote]the image is generated on counter.php. and the page image.php shows the image (yes i realise that i should have done it the other way round now!)i want the image on counter.php to be able to collect the cookie info from image.php Link to comment https://forums.phpfreaks.com/topic/35753-trying-to-get-cookie-info-from-another-location/#findComment-169444 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.