1 頁 (共 1 頁)

[問題]不知為什麽會有這(?>)東東啊?

發表於 : 2004-01-17 16:58
hello kitty
現在安裝了:AppServ 2.3.0+php2.06+attach_mod+exobud_mp+chatbox_mod+水怪 RPG 完整安裝版+在系統管理台增加會員列表+付費瀏覽+付費瀏覽-再升級+以付費的會員+光棒該製作+隱藏訊息+虛擬形象+會員相簿+主題類型+顏色桻+防止大量機械式註冊+跑馬燈+發言位置變成氣泡+美化HPMPXP+在管理員控制台加入 phpMyAdmin+論壇外框+禁止訪客瀏覽會員的個人資料+聊天室+閃光會員+快速回覆,等等
平台是windows pro
之後打開album_pic.php尋找?>只有3個,



[php] // This was shamelessly 'borrowed' from volker at multiartstudio dot de
// via php.net's annotated manual
$message = str_replace('\"', '"', substr(preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#se', "preg_replace('#\b(" . $highlight_match . ")\b#i', '<span style=\"color:#" . $theme['fontcolor3'] . "\"><b>\\\\\\\1</b></span>', '\\\0')", '>' . $message . '<'), 1, -1)); ?>[/php]


[php] //
// Replace naughty words
//
if (count($orig_word))
{
$post_subject = preg_replace($orig_word, $replacement_word, $post_subject);

if ($user_sig != '')
{
$user_sig = str_replace('\"', '"', substr(preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#se', "preg_replace(\$orig_word, \$replacement_word, '\\\0')", '>' . $user_sig . '<'), 1, -1));
[/php]

[php] //
// END Quick Reply Mod
//
$template->pparse('body');

include($phpbb_root_path . 'includes/page_tail.'.$phpEx);

?>

[/php]

圖檔

發表於 : 2004-11-08 10:09
cpthk
?>是php語言的結尾,開頭是<?或<?php,要使用<?要設定php.ini檔案