Yawa Posted September 5, 2010 Share Posted September 5, 2010 What I want is to let visitors select a county they want to search in. And when the choice is made - all ads, news, info that is shown is from the chosen county. What I'm trying to say here, is that when a location is set, visitors don't need to set the location again. But they can change it all the time. I belive this is done by setting a cookie with PHP. But don't know how. Can anyone point me in the right direction? Link to comment https://forums.phpfreaks.com/topic/212608-some-cookie-questions/ Share on other sites More sharing options...
wildteen88 Posted September 5, 2010 Share Posted September 5, 2010 You can set a cookie with php using the setcookie function. Or you can use sessions Link to comment https://forums.phpfreaks.com/topic/212608-some-cookie-questions/#findComment-1107571 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.