🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Yasushi Shinjo Mon, 29 Nov 2004 19:22
[PHP] calling header() twice in PukiWiki
#33
Author: Yasushi Shinjo
Date: Mon, 29 Nov 2004 19:22
34 lines
2301 bytes
$B?7>k!wC^GHBg3X>pJs$G$9!#$3$s$K$A$O!#(B

PHP $B$G$O(B header() $B$r#22s0J>e8F$s$G$b$$$$$s$G$7$g$&$+!#(B

PukiWiki $B$r(B CGI $B$GF0$+$7$F$$$^$9!#JT=82hLL$G%Z!<%8$N99?7$r$9(B
$B$k$H!"99?7$O$G$-$k$N$G$9$,!"%Z!<%8$,??$CGr$K$J$j$^$9!#%(%i!<(B
$B$rI=<($5$;$k$H$3$&$J$j$^$9!#(B

Warning: Cannot modify header information - headers already
sent by (output started at /PATH/pukiwiki.cgi:3) in
/PATH2/plugin/edit.inc.php

header() $B$,#22s8F$P$l$?$H$$$&$3$H$_$?$$$G$9!#(B

$B$3$N>I>u$O!"(BCGI $B$N;~$K$7$+=P$J$$$s$G$9$+$M!#4D6-$H$7$F$O!"(B
PukiWiki 1.4.4, PHP 4.3.9 $B$G$9!#(BOS $B$O(B Linux RedHat 7.1$B!#(B

PukiWiki $B$O!"(B1.4.4 $B$K$J$C$F!"(BCGI $B$GF0$+$7$d$9$/$J$j$^$7$?!#(B
pukiwiki.php -> pukiwiki.cgi $B$K$7$F%3%T!<$7$?$i!";D$j$O(B 
Apache $B$+$i$O%"%/%;%9$5$l$J$$FHN)$7$?%G%#%l%/%H%j$KCV$/$N$,(B
$B4JC1$G$9!#(B1.4.3 $B$O!"%,%j%,%j$d$C$?$1$I7k6IBgJ,(B .php $B$,;D$C$?(B
$B$+$J!#(B

PukiWiki $B$N%G%P%C%0$K$O!"(Blib/init.php $B$N(B
    error_reporting(E_ERROR | E_PARSE);
$B$r(B
    error_reporting(E_ALL)
$B$KJV$k$H2hLL$K=P$F$-$^$9!#(B

PukiWiki $B$O!"(BWiki $B$@$1$I(B PHP $B$O8@8l$H$$$&$3$H$G(B
Newsgroups: fj.net.www,fj.comp.lang.misc $B$K$7$F$_$^$7$?!#(B

$B!@!@!!?7>k!!Lw!!!J$7$s$8$g$&!!$d$9$7!K!!!@!@(B
$B!@!@!!C^GHBg3X!!EE;R!&>pJs!!!!!!!!!!!!!!!@!@(B
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads