Unset cookies php

前端 未结 8 1893
萌比男神i
萌比男神i 2021-01-04 09:28

I have this code that setted when login check is fine:

if((isset($_POST[\"remember_me\"]))&&($_POST[\"remember_me\"]==1))
    {
    setcookie(\'email         


        
8条回答
  •  -上瘾入骨i
    2021-01-04 10:17

    try this

        setcookie ("email", "", time() - 3600);
        setcookie ("pass", "", time() - 3600);
    

提交回复
热议问题