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 keyangâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #288686 | Initial revision | — | over 1 year ago |
Answer | — |
A: Load site based on cookie value in PHP The problem is that you are using an undefined variable `$cookie`. This will cause `setcookie()` to "set" a cookie with name "cookie" and value `null`. Obviously PHP deletes the cookie in that case, as you can observe with curl (also note the expiration time in the past): curl $URLOFYOURWEBSIT... (more) |
— | over 1 year ago |