線上書籍

Home

[1062] PHP7入門

<?php session_start(); require_once 'function.php'; require_once 'smarty/libs/Smarty.class.php'; $smarty = new Smarty; $db = link_db(); //自動抓樣板檔 define('_PAGE_TPL', str_replace('.php', '.tpl', basename($_SERVER['PHP_SELF'])));