php - print $_COOKIE display nothing BUT firefox display the cookie -


i working on local project, here function create cookie:

setcookie('remember-me', "large , complex key", time() + $une_semaine);

even after reloading page nothing displayed... print_r display phpsessid , not cookie when watch coockies on firefox parameters can see him, created, whats wrong ??

im blocked, me guys please?

use

setcookie('remember-me', "large , complex key", time() + 60*60*24*365); 

Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -