Re: [請益] session問題

看板PHP作者 (yornid)時間15年前 (2009/05/03 12:05), 編輯推噓-1(010)
留言1則, 1人參與, 最新討論串8/11 (看更多)
※ 引述《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

05/03 21:21, , 1F
莫明的想噓...
05/03 21:21, 1F
文章代碼(AID): #19_HWEZ5 (PHP)
討論串 (同標題文章)
文章代碼(AID): #19_HWEZ5 (PHP)