phillips321 Posted October 12, 2007 Share Posted October 12, 2007 Hi guys, My site www.forumpix.co.uk is a tool that can be used for user to upload images. When a user uploads an image it get's stored on my server as $image_name How could i check for a cookie on the user pc and if there is one read in the uploaded images. (if not then create one) If a new image is uploaded then apend the cookie with $image_name Thus, i can display the users recently uploaded pictures. Cheers guys Link to comment https://forums.phpfreaks.com/topic/72957-using-a-cookie-to-save-uploaded-file-names/ Share on other sites More sharing options...
GamingWarrior Posted October 12, 2007 Share Posted October 12, 2007 hmm.... I think this would be easier if you did it maybe via ip and used sql. That way when some goes to upload an image you check the ip do a search in the sql ind and other image they have upload and presto. --EDIT-- What are the chances, I uploaded an image to you site yesterday when you posted it in the beta section part. i just revisited your site, clicked the random image button and the first image it showed me was the one i uploaded. =back on topic= Link to comment https://forums.phpfreaks.com/topic/72957-using-a-cookie-to-save-uploaded-file-names/#findComment-367976 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.