请问用php编写的网站,想改首页地址需要修改什么。
我打开网站就是/index.php?c=welcome&a=index我想改成/index.php?c=pin&a=index请问如何实现,根目录下的index.php是...
我打开网站就是/index.php?c=welcome&a=index 我想改成/index.php?c=pin&a=index 请问如何实现,根目录下的index.php是这样的
<?php
define('START_TIME', microtime(true));
define('START_MEMORY_USAGE', memory_get_usage());
define("APP_PATH",dirname(__FILE__));
define("SP_PATH",dirname(__FILE__).'/SpeedPHP');
define('FILE_READ_MODE', 0644);
define('FILE_WRITE_MODE', 0666);
define('DIR_READ_MODE', 0755);
define('DIR_WRITE_MODE', 0777);
define('FOPEN_READ','rb');
define('FOPEN_READ_WRITE','r+b');
define('FOPEN_WRITE_CREATE_DESTRUCTIVE','wb'); // truncates existing file data, use with care
define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE','w+b'); // truncates existing file data, use with care
define('FOPEN_WRITE_CREATE','ab');
define('FOPEN_READ_WRITE_CREATE','a+b');
define('FOPEN_WRITE_CREATE_STRICT','xb');
define('FOPEN_READ_WRITE_CREATE_STRICT','x+b');
require(APP_PATH."/config.php");
require(SP_PATH."/SpeedPHP.php");
import(APP_PATH.'/controller/basecontroller.php');
import(APP_PATH.'/controller/baseuser.php');
import(APP_PATH.'/include/function_global.php');
import(APP_PATH.'/include/function_file.php');
spRun();
我也不知道说明白了没有 展开
<?php
define('START_TIME', microtime(true));
define('START_MEMORY_USAGE', memory_get_usage());
define("APP_PATH",dirname(__FILE__));
define("SP_PATH",dirname(__FILE__).'/SpeedPHP');
define('FILE_READ_MODE', 0644);
define('FILE_WRITE_MODE', 0666);
define('DIR_READ_MODE', 0755);
define('DIR_WRITE_MODE', 0777);
define('FOPEN_READ','rb');
define('FOPEN_READ_WRITE','r+b');
define('FOPEN_WRITE_CREATE_DESTRUCTIVE','wb'); // truncates existing file data, use with care
define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE','w+b'); // truncates existing file data, use with care
define('FOPEN_WRITE_CREATE','ab');
define('FOPEN_READ_WRITE_CREATE','a+b');
define('FOPEN_WRITE_CREATE_STRICT','xb');
define('FOPEN_READ_WRITE_CREATE_STRICT','x+b');
require(APP_PATH."/config.php");
require(SP_PATH."/SpeedPHP.php");
import(APP_PATH.'/controller/basecontroller.php');
import(APP_PATH.'/controller/baseuser.php');
import(APP_PATH.'/include/function_global.php');
import(APP_PATH.'/include/function_file.php');
spRun();
我也不知道说明白了没有 展开
6个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询