Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for hajakutbudeenâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Question | — |
Load site based on cookie value in PHP I need to load a site based on a cookie. I wrote code to validate that, like this. if(!isset($COOKIE['cookie'])){ $domain = $SERVER['SERVERNAME']; setcookie('cookie', $cookie, time() + 31536000, '/', $domain); header('Location: '.$SERVER['REQUESTURI']); // reload ... (more) |
— | about 2 years ago |