看板 PHP 關於我們 聯絡資訊
※ 引述《yekome (/ \)》之銘言: : 網站管理者登入 有用到session : 但一直有問題 我弄好久了 = = : Warning: session_start() [function.session-start]: Cannot send session cookie : - headers already sent by (output started at C:\AppServ\www\guestbook\ : checkidpwd.php:1) in C:\AppServ\www\guestbook\checkidpwd.php on line 42 : Warning: session_start() [function.session-start]: Cannot send session cache : limiter - headers already sent (output started at C:\AppServ\www\guestbook\ : checkidpwd.php:1) in C:\AppServ\www\guestbook\checkidpwd.php on line 42 : 這是什麼問題阿? : line 42的地方是session_start( ); 你試試在第二行加入 ob_start(); 最後再ob_end_clean(); -- 順風,逆風  迎風而起 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.136.49.82
BloodyDawn :莫明的想噓... 05/03 21:21