四月 17, 2008

[XAMPP] 有關XAMPP預設文件

裝好 XAMPP 如果沒有設定密碼會進入管理程式。

你可以設定密碼,並且修改預設文件 index.php 的內容如下 ...


<?php
if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
$uri = 'https://';
} else {
$uri = 'http://';
}
$uri .= $_SERVER['HTTP_HOST'];
//header('Location: '.$uri.'/xampp/');header('Location: '.$uri.'/lifetype/');
exit;
?>
Something is wrong with the XAMPP installation :-(


發佈者: 陳怡杰 老師 at 07:06│  點閱次數 (248)│ 修改文章管理迴響迴響 (0)精華置頂 , 2008部落格建置班
回應文章
(必要)
authimage