[請益] 使用fasttemplate出現問題

看板PHP作者 (最在乎的最難改變=.=)時間19年前 (2007/01/08 23:15), 編輯推噓2(201)
留言3則, 1人參與, 最新討論串1/1
大家好 我寫了一隻php及tpl程式如下,但執行起來會有問題 php code-->a.php <?php $uid=12345; $tpl->define(array(main=>"a.tpl")); $tpl->assign(UID,$uid); $tpl->parse(BODY,"main"); $tpl->FastPrint("BODY"); ?> tpl code-->a.tpl <html> ... your uid is {UID}. ... <html> 執行後,它應該輸出--> your uid is 12345. 但是確輸出 --> your uid is {12345}. 我的主機是灌 FreeBSD 4.11-RELEASE FreeBSD 4.11- RELEASE #0: Thu Se i386 php version:4.4.2 希望有那位大大指點一下迷津,謝謝>< -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.162.248.22

01/10 10:13, , 1F
你的 class.FastTemplate.php 沒更新patch檔
01/10 10:13, 1F

01/10 10:26, , 3F
這是我平常在用的
01/10 10:26, 3F
文章代碼(AID): #15ec07kk (PHP)
文章代碼(AID): #15ec07kk (PHP)