新手,不懂,請(qǐng)各位大神解答,index.php程式碼如下
<?php
header("Content-type: text/html; charset=utf-8 ");
date_default_timezone_set('Etc/GMT-8');
set_time_limit(0);
//定義網(wǎng)站路徑D:\website\seerpro\
define('WEB_ROOT', rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR);
//定義擴(kuò)充庫路徑
#RO#define('EXT_LIB_##//定義擴(kuò)充庫路徑
#RO 'lib/');include_once WEB_ROOT . 'easyphp/EasyPHP.class.php';//設(shè)定檔.#$configFile = WEB_ROOT . 'config. php';##}
#EasyPHP::doItEasy($configFile);
localhost 存取一直提示/member/space /website-".$URIstr.'.shtmlURL路徑不存在或頁面一片空白。。
if(strpos($URIstr,?'/')?===?false?&&?strpos($URIstr,?'?')?===?false?&&?!empty($URIstr)) { header("Location:?/member/space/website-".$URIstr.'.shtml'); }
你這裡寫的不是很肥明顯嗎? ?
還有一個(gè)可能 是你配置過偽靜態(tài)路徑被重新定義了