Download! Contributed Code
Is Smarty right for me? Why use it? Crash Course Preface from docs Summary from docs Testimonials
Quick Install Documentation Sample Application Discussion Forums Internet Relay Chat Mailing Lists Smarty Wiki FAQ (from wiki) Other Resources
Guru-host.eu AOE media TYPO3 Cheap Hosting @HostsVault Redcoon Mobile Broadband @top10 cheap web hosting @HostDone email marketing software @ActiveCampaign broadband deals @BroadbandGenie email marketing software @OmnistarMailer broadband providers @suppliers.co.uk Web Development India @neswebdesign.com Web Design @turbonacho.com Broadband Deals @broadbandchoices.co.uk SIM Only Deals @simonlycontractdeals.co.uk Free Web Hosting @freevirtualservers.com Health Insurance @privatehealthservice.co.uk Virtual Dedicated Server @apps4rent.com Best UK Web Hosting @webhost.uk.net Reliable UK and US Web Hosting @rshosting.com Cheap US and UK Web Hosting @infrenion.com I.T Certification Exams @pass-guaranteed.com Web Development Company @phpwebdevelopmentcompany.com Magento Development @magentodevelopmentindia.com
www.php.net www.phpinsider.com
Vote for Smarty!
Feel free to put in your rating or review of Smarty at HotScripts.com
Smarty Icon
You may only use the Smarty logo according to the trademark notice
Tell us about it!
Got some news for the front page? New articles, weblog discussions, public talks, etc? Let us know!
$security は TRUE または FALSE となり、 デフォルトは FALSE です。これは、 テンプレート言語によってシステムのセキュリティが脆弱になる危険性を減らしたい場合や、 (例えばFTPによって) テンプレートを編集するグループにあまり信用がおけない時に最適です。 セキュリティを有効にすると、 $security_settings によってオーバーライドされない限りは次の規則をテンプレート言語へ適用します。
If $php_handling が SMARTY_PHP_ALLOW に設定されていれば、 それを暗黙のうちに SMARTY_PHP_PASSTHRU に変更します。
PHP 関数を {if} ステートメント内で使用することができません。ただし $security_settings で指定されているものは除きます。
テンプレートは、 $secure_dir 配列に格納されているディレクトリからのみ取得できます。
ローカルファイルは、 $secure_dir 配列に格納されているディレクトリから {fetch} を使用することによってのみ取得できます。
{php}{/php} タグは使用できません。
PHP 関数を修飾子として使用することはできません。ただし $security_settings で指定されているものは除きます。