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

phpBB Installation & Usage Support
phpBB 2 安裝於各類型作業平台之問題討論;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

版面規則
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
主題已鎖定
hello kitty
星球公民
星球公民
文章: 116
註冊時間: 2003-12-26 08:33

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

文章 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]

圖檔
cpthk
星球普通子民
星球普通子民
文章: 15
註冊時間: 2004-08-19 14:05

文章 cpthk »

?>是php語言的結尾,開頭是<?或<?php,要使用<?要設定php.ini檔案
主題已鎖定

回到「phpBB 2 安裝與使用」