php
用xampp本地测试php内容没有显示,源代码是刚从ftp下下来的,本人之前弄过asp和.net的,php是菜鸟,有谁可以帮忙
define("app_debug", false);
define('site_path', getcwd());
define('app_name', 'shuipf');
define('app_path', site_path . '/shuipf/');
define("runtime_path", site_path . "/#runtime/");
define('template_path', app_path . 'template/');
//大小写忽略处理
foreach (array("g", "m") as $v) {
if (isset($_get[$v])) {
$_get[$v] = ucwords($_get[$v]);
}
}
if (!file_exists(app_path . 'conf/dataconfig.php')) {
header("location: install/");
exit;
}
//载入框架核心文件
require app_path . 'core/thinkphp.php';>
这个是首页代码
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号