otuatail Posted August 15, 2006 Share Posted August 15, 2006 HiI've tried in the past to set a cookie on my own PC with a basic php page<?setcookie("mysite","here");?>Tried without the quotes a s well. Is there anything else i need to do?Paul. Quote Link to comment https://forums.phpfreaks.com/topic/17669-cookies/ Share on other sites More sharing options...
hostfreak Posted August 15, 2006 Share Posted August 15, 2006 Have you read: http://php.net/setcookie ? It might be able to give you some more information on cookies. Quote Link to comment https://forums.phpfreaks.com/topic/17669-cookies/#findComment-75296 Share on other sites More sharing options...
otuatail Posted August 15, 2006 Author Share Posted August 15, 2006 Yes I have been there but as all other arguments including Expire date are optionalthen this should leave a cookie untill the hard disk is formated or windows re-installed.Is this not the case? I want a perminatnt (where posible) cookie. Quote Link to comment https://forums.phpfreaks.com/topic/17669-cookies/#findComment-75298 Share on other sites More sharing options...
otuatail Posted August 16, 2006 Author Share Posted August 16, 2006 I have managed the problem of setting my cookies. I was looking for the cookie on my local PC and could not find it. But it is working so were on the hard disk is it? Quote Link to comment https://forums.phpfreaks.com/topic/17669-cookies/#findComment-75603 Share on other sites More sharing options...
wildteen88 Posted August 16, 2006 Share Posted August 16, 2006 What browser are you using? If its Firefox goto Tools > Options > Privacy > Cookie Tab > View Cookies. Now in the search box type in localhost or the name the of the cookie, and it'll try to find the cookie.For IE(7) you need to goto Tools > Internet Options > Browsing History Settings button > View Files. Now click the Types column so the grey arrow is pointing upwards in the Temporary Internet Files window. Now scroll down until you find a bunch of Text Files. These should be your cookies.For Opera goto Tools > Preferences... > Advanced Tab > Cookies > Manage cookies. Again use the search bar to sift through the cookies, by typing localhost or the name of the cookie.For any other browser you might want to consult their documentation. Quote Link to comment https://forums.phpfreaks.com/topic/17669-cookies/#findComment-75628 Share on other sites More sharing options...
otuatail Posted August 16, 2006 Author Share Posted August 16, 2006 Thanks for all that. I thought all cookies where in docs and settings. My problem is I am being targeted by someone. I think I know. What I wanted was to place a cookie on there PC and then I could confrunt them "Get out of that son"Desmond. Quote Link to comment https://forums.phpfreaks.com/topic/17669-cookies/#findComment-75656 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.