前 次 新10 1- 板 カキコミ
[243]β徹子さん◆1GwReh1dZw 2006/08/23(水) 11:53:38 ID:VXec1ED.
echo '
<html><head><title>'.$tit.'</title>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
'.$style.'
</head>
'.$body;
echo "<form action=\"$PHP_SELF\" method=post></h3><ul>";
echo "キーワード: <input type=text name=word size=10 value=".htmlspecialchars($word).">
<input type=\"hidden\" name=\"bbs\" value= $bbs >
<input type=submit value=\" 検索する \"><br><font color=red>$err</font><br><br></UL>";
//$d = dir($ddir);
//while($ent=$d->read()) {
// if(ereg("^[0-9]",$ent))
// $tmp[] = substr($ent,0,strpos($ent,"."));
//}
//$d->close();
//rsort($tmp);
//$suball = @file("subject.txt");
//foreach($suball as $sub) {
// list($key,$subject) = explode(".dat", $sub);
// list($line,$subject) = explode("<>", $sub);
// $up[$key] = $subject;
//}
//foreach($tmp as $line) {
// echo "$line";
// echo " <a href=../test/read.php/$bbs/$key/l50>$up[$line]</a><br>\n";
//}
echo "search.php <a href=php.s3.to target=_blank>レッツPHP!</a>の改造。。";
echo "</form></body></html>";
前 次 カキコミ
r.php ver2.5 (2005/03/28)