學習thinkphp多看文檔是必須的,下面是3.2版本的中文文檔網址
http://document.thinkphp.cn/manual_3_2.html#define_controller
http://document.thinkphp.cn/manual_3_2.html#define_controller
// 裁切圖片類 <?php class ge_image{ /** * 獲取文件擴展名 * @return string */ function fileExt($file_name){
開啓虛擬主機: 配置本地路由表:C:\Windows\System32\drivers\etc\hosts apache開啓虛擬主機:\wamp\bi