Joke Collection Website - Talk about mood - Seek a php message board source code

Seek a php message board source code

I don't think you need this, but it's fun. If you want to use it, I have a slightly more serious one there, +QQ:

43054660

& lt? Server-side programming language (abbreviation of professional hypertext preprocessor)

$ nick = $ _ POST[' nick '];

$ title = $ _ POST[' title '];

$ txt = $ _ POST[' txt '];

$ color = $ _ POST[' color '];

if($title & amp; & amp$txt)

{ $txt=nl2br($txt。 "-$ nick ");

file_put_contents(__FILE__," & lthr & gt& ltbr & gt& ltb & gt$ title & lt/b & gt; . Date ("Y-m-d H:i:s"). “& ltbr & gt& ltfont color = $ color & gt$ txt & lthr & gt& lt/font >,FILE _ APPEND);

Header ('refresh:1');

}

& gt

& lttitle & gt minimalist guestbook (PHP 5)

& ltb> Minimalist Guest Book (PHP 5)

& lthr & gt

& ltbody bgcolor=#BEBEBE>。

& ltform method = post action = " " & gt

Nickname:

Title:

Content:

Color:

& ltselect name = color & gt

& lt option value =' red'> red.

& lt option value =' blue'> blue.

& lt option value =' yellow'> yellow

& lt option value =' green'> green

& lt option value =' orange'> orange

& lt/select & gt;

Operation: < input type = "reset" >

& lt/form & gt;

& lt/body & gt;

& lt! ----& gt;

& lt! ----& gt;

& lthr & gt& ltbr & gt& ltb & gt* * * * * & lt/b & gt; 2008-06-03 08:55:3 1 & lt; br & gt& ltfont color=green>。 Li Ze Li Ze-Li Ze & lthr & gt& lt/font & gt;; & lthr & gt& ltbr & gt& ltb & gt23 & lt/b & gt; 2008-06-07 0 1:53: 13 & lt; br & gt& ltfont color=green>。 1234- 1 1 & lt; hr & gt& lt/font & gt; & lthr & gt& ltbr & gt& ltb & gtlz & lt/b & gt; 2008-07- 16 19: 19:47 & lt; Br>& lt font color = yellow & gtlz-LZ < hr & gt& lt/font & gt; & lthr & gt& ltbr & gt& ltb> zoo