PHP:Cannot modify header information - headers already sent by出錯解決

<?php  ob_start(); setcookie("username","test",time()+3600); echo "the username is:".$HTTP_COOKIE_VARS["username"]."\n"; echo "the username is:".$_COOKIE["username"]."\n"; print_r($_COOKIE); ?> 訪問該PHP
相關文章
相關標籤/搜索