ThinkPHP学习日记1-(配置)

WBOY
Release: 2016-06-13 10:29:43
Original
744 people have browsed it

ThinkPHP学习日志1-(配置)
PHP 模板技术
1.Thinkphp 学习的目的
深入学习PHP语法,与方便快捷构站。
2.Thinkphp 配置
1).下载Thinkphp(Core)文件,放在Webroot目录;
2).建立index.php,生成目录

<?php define(ROOT_PATH,'/Applications/MAMP/htdocs/ts');    define('THINK_PATH',ROOT_PATH.'/ThinPHP');    define('APP_PATH',ROOT_PATH.'/home');    define('APP_NAME','home');//调用文件require_once(THINK_PATH.'ThinkPHP.php');APP::run();?>
Copy after login


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!