Posts by Lamachine • 11 points
1 post
-
0
votes2
answers795
viewsA: PHP Cookie is not set on remote server
Cookies should be placed at the beginning of the page, it loads before other elements. In the case of your code, create a session_start() and then pass the data to the cookie.