AL8 Forum
   登錄註冊幫助


標題: 唔知點講個問題- -
 CrazyFong
 0044522
Rank: 3Rank: 3Rank: 3

頭銜: Conqueror

帖子: 121

精華: 0

積分: 1830 點

現金: 68 元

存款: 0 元

閱讀權限: 20

註冊: 2006-5-5

狀態: 離線
 
發表於 2008-6-30 22:10  資料  個人空間  短消息  加為好友 
唔知點講個問題- -

當我開左http://localhost/phpmyadmin/之後,佢出現左d咁既野

<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* forms frameset
*
* @version $Id: index.php 10590 2007-09-02 19:59:59Z lem9 $
* @uses    $GLOBALS['strNoFrames']
* @uses    $GLOBALS['cfg']['QueryHistoryDB']
* @uses    $GLOBALS['cfg']['Server']['user']
* @uses    $GLOBALS['cfg']['DefaultTabServer']     as src for the mainframe
* @uses    $GLOBALS['cfg']['DefaultTabDatabase']   as src for the mainframe
* @uses    $GLOBALS['cfg']['NaviWidth']            for navi frame width
* @uses    $GLOBALS['collation_connection']    from $_REQUEST (grab_globals.lib.php)
*                                              or common.inc.php
* @uses    $GLOBALS['available_languages'] from common.inc.php (select_lang.lib.php)
* @uses    $GLOBALS['db']
* @uses    $GLOBALS['charset']
* @uses    $GLOBALS['lang']
* @uses    $GLOBALS['text_dir']
* @uses    $_ENV['HTTP_HOST']
* @uses    PMA_getRelationsParam()
* @uses    PMA_purgeHistory()
* @uses    PMA_generate_common_url()
* @uses    PMA_VERSION
* @uses    session_write_close()
* @uses    time()
* @uses    PMA_getenv()
* @uses    header()                to send charset
*/

/**
* Gets core libraries and defines some variables
*/
require_once './libraries/common.inc.php';

/**
* Includes the ThemeManager if it hasn't been included yet
*/
require_once './libraries/relation.lib.php';

// free the session file, for the other frames to be loaded
session_write_close();

// Gets the host name
// loic1 - 2001/25/11: use the new globals arrays defined with php 4.1+
if (empty($HTTP_HOST)) {
    if (PMA_getenv('HTTP_HOST')) {
        $HTTP_HOST = PMA_getenv('HTTP_HOST');
    } else {
        $HTTP_HOST = '';
    }
}


// purge querywindow history
$cfgRelation = PMA_getRelationsParam();
if ($GLOBALS['cfg']['QueryHistoryDB'] && $cfgRelation['historywork']) {
    PMA_purgeHistory($GLOBALS['cfg']['Server']['user']);
}
unset($cfgRelation);


/**
* pass variables to child pages
*/
$drops = array('lang', 'server', 'convcharset', 'collation_connection',
    'db', 'table');

foreach ($drops as $each_drop) {
    if (! array_key_exists($each_drop, $_GET)) {
        unset($_GET[$each_drop]);
    }
}
unset($drops, $each_drop);

if (! strlen($GLOBALS['db'])) {
    $main_target = $GLOBALS['cfg']['DefaultTabServer'];
} elseif (! strlen($GLOBALS['table'])) {
    $_GET['db'] = $GLOBALS['db'];
    $main_target = $GLOBALS['cfg']['DefaultTabDatabase'];
} else {
    $_GET['db'] = $GLOBALS['db'];
    $_GET['table'] = $GLOBALS['table'];
    $main_target = $GLOBALS['cfg']['DefaultTabTable'];
}

$url_query = PMA_generate_common_url($_GET);

if (isset($GLOBALS['target']) && is_string($GLOBALS['target']) && !empty($GLOBALS['target']) && in_array($GLOBALS['target'], $goto_whitelist)) {
    $main_target = $GLOBALS['target'];
}

$main_target .= $url_query;

$lang_iso_code = $GLOBALS['available_languages'][$GLOBALS['lang']][2];


// start output
header('Content-Type: text/html; charset=' . $GLOBALS['charset']);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xml:lang="<?php echo $lang_iso_code; ?>"
    lang="<?php echo $lang_iso_code; ?>"
    dir="<?php echo $GLOBALS['text_dir']; ?>">
<head>
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
<title>phpMyAdmin <?php echo PMA_VERSION; ?> -
    <?php echo htmlspecialchars($HTTP_HOST); ?></title>
<meta http-equiv="Content-Type"
    content="text/html; charset=<?php echo $GLOBALS['charset']; ?>" />
<script type="text/javascript">
// <![CDATA[
    // definitions used in querywindow.js
    var common_query = '<?php echo PMA_escapeJsString(PMA_generate_common_url('', '', '&'));?>';
    var opendb_url = '<?php echo PMA_escapeJsString($GLOBALS['cfg']['DefaultTabDatabase']); ?>';
    var safari_browser = <?php echo PMA_USR_BROWSER_AGENT == 'SAFARI' ? 'true' : 'false' ?>;
    var querywindow_height = <?php echo PMA_escapeJsString($GLOBALS['cfg']['QueryWindowHeight']); ?>;
    var querywindow_width = <?php echo PMA_escapeJsString($GLOBALS['cfg']['QueryWindowWidth']); ?>;
    var collation_connection = '<?php echo PMA_escapeJsString($GLOBALS['collation_connection']); ?>';
    var lang = '<?php echo PMA_escapeJsString($GLOBALS['lang']); ?>';
    var server = '<?php echo PMA_escapeJsString($GLOBALS['server']); ?>';
    var table = '<?php echo PMA_escapeJsString($GLOBALS['table']); ?>';
    var db    = '<?php echo PMA_escapeJsString($GLOBALS['db']); ?>';
    var text_dir = '<?php echo PMA_escapeJsString($GLOBALS['text_dir']); ?>';
    var pma_absolute_uri = '<?php echo PMA_escapeJsString($GLOBALS['cfg']['PmaAbsoluteUri']); ?>';

    // for content and navigation frames

    var frame_content = 0;
    var frame_navigation = 0;
    function getFrames() {
<?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
        frame_content = window.frames[1];
        frame_navigation = window.frames[0];
<?php } else { ?>
        frame_content = window.frames[0];
        frame_navigation = window.frames[1];
<?php } ?>
    }
    var onloadCnt = 0;
    var onLoadHandler = window.onload;
    window.onload = function() {
        if (onloadCnt == 0) {
            if (typeof(onLoadHandler) == "function") {
                onLoadHandler();
            }
            if (typeof(getFrames) != 'undefined' && typeof(getFrames) == 'function') {
                getFrames();
            }
            onloadCnt++;
        }
    };
// ]]>
</script>
<script src="./js/querywindow.js" type="text/javascript"></script>
</head>
<frameset cols="<?php
if ($GLOBALS['text_dir'] === 'rtl') {
    echo '*,';
}
echo $GLOBALS['cfg']['NaviWidth'];
if ($GLOBALS['text_dir'] === 'ltr') {
    echo ',*';
}
?>" rows="*" id="mainFrameset">
    <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
    <frame frameborder="0" id="frame_navigation"
        src="navigation.php<?php echo $url_query; ?>"
        name="frame_navigation" />
    <?php } ?>
    <frame frameborder="0" id="frame_content"
        src="<?php echo $main_target; ?>"
        name="frame_content" />
    <?php if ($GLOBALS['text_dir'] === 'rtl') { ?>
    <frame frameborder="0" id="frame_navigation"
        src="navigation.php<?php echo $url_query; ?>"
        name="frame_navigation" />
    <?php } ?>
    <noframes>
        <body>
            <p><?php echo $GLOBALS['strNoFrames']; ?></p>
        </body>
    </noframes>
</frameset>
</html>

我想問下有咩方法可以解決???




 AL8 Forum © All rights reserved.
頂部
 teng
 0009876
 此發帖者已被禁止發言

頭銜: Banned to Post

帖子: 6713

精華: 0

積分: 58771 點

現金: 0 元

存款: 1551 元

閱讀權限: 0

註冊: 2004-10-16

狀態: 離線
 
發表於 2008-6-30 22:15  資料  個人空間  主頁 短消息  加為好友 
*** 作者被禁止或刪除 內容自動屏蔽 ***
 CrazyFong
 0044522
Rank: 3Rank: 3Rank: 3

頭銜: Conqueror

帖子: 121

精華: 0

積分: 1830 點

現金: 68 元

存款: 0 元

閱讀權限: 20

註冊: 2006-5-5

狀態: 離線
 
發表於 2008-6-30 22:24  資料  個人空間  短消息  加為好友 
回覆 #2 teng 的帖子

咁我諗我應該知點做了-0-

[ 本帖最後由 CrazyFong 於 2008-6-30 22:28 編輯 ]




 AL8 Forum © All rights reserved.
頂部
 CrazyFong
 0044522
Rank: 3Rank: 3Rank: 3

頭銜: Conqueror

帖子: 121

精華: 0

積分: 1830 點

現金: 68 元

存款: 0 元

閱讀權限: 20

註冊: 2006-5-5

狀態: 離線
 
發表於 2008-6-30 22:31  資料  個人空間  短消息  加為好友 
原來都係咁- -




 AL8 Forum © All rights reserved.
頂部
 teng
 0009876
 此發帖者已被禁止發言

頭銜: Banned to Post

帖子: 6713

精華: 0

積分: 58771 點

現金: 0 元

存款: 1551 元

閱讀權限: 0

註冊: 2004-10-16

狀態: 離線
 
發表於 2008-6-30 22:34  資料  個人空間  主頁 短消息  加為好友 
*** 作者被禁止或刪除 內容自動屏蔽 ***
 青山
 0051494
Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6

頭銜: Forum Legend

暱稱: SkyBread

自述: PHP BB

帖子: 4182

精華: 0

積分: 7804 點

現金: 94 元

存款: 8806 元

閱讀權限: 70

註冊: 2006-9-2

來自: 小花園

狀態: 離線
 
發表於 2008-6-30 22:57  資料  個人空間  主頁 短消息  加為好友 
回覆 #5 teng 的帖子

佢似用apache唔裝php...




 AL8 Forum © All rights reserved.
頂部
 CrazyFong
 0044522
Rank: 3Rank: 3Rank: 3

頭銜: Conqueror

帖子: 121

精華: 0

積分: 1830 點

現金: 68 元

存款: 0 元

閱讀權限: 20

註冊: 2006-5-5

狀態: 離線
 
發表於 2008-6-30 23:50  資料  個人空間  短消息  加為好友 
回覆 #6 青山 的帖子

裝左架喇- -..不過都係有問題= =..




 AL8 Forum © All rights reserved.
頂部
 CrazyFong
 0044522
Rank: 3Rank: 3Rank: 3

頭銜: Conqueror

帖子: 121

精華: 0

積分: 1830 點

現金: 68 元

存款: 0 元

閱讀權限: 20

註冊: 2006-5-5

狀態: 離線
 
發表於 2008-6-30 23:52  資料  個人空間  短消息  加為好友 


QUOTE:
原帖由 teng 於 2008-6-30 22:34 發表
用比較低版本的appserv 算了吧-_-

用appserv- -..個zend又唔識升級- -..
用apache..搞php又有問題- -...唉
我想問..個php.ini係唔係要copy多一個放係windows入面??




 AL8 Forum © All rights reserved.
頂部
 teng
 0009876
 此發帖者已被禁止發言

頭銜: Banned to Post

帖子: 6713

精華: 0

積分: 58771 點

現金: 0 元

存款: 1551 元

閱讀權限: 0

註冊: 2004-10-16

狀態: 離線
 
發表於 2008-7-1 00:06  資料  個人空間  主頁 短消息  加為好友 
*** 作者被禁止或刪除 內容自動屏蔽 ***
 青山
 0051494
Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6

頭銜: Forum Legend

暱稱: SkyBread

自述: PHP BB

帖子: 4182

精華: 0

積分: 7804 點

現金: 94 元

存款: 8806 元

閱讀權限: 70

註冊: 2006-9-2

來自: 小花園

狀態: 離線
 
發表於 2008-7-1 00:08  資料  個人空間  主頁 短消息  加為好友 
回覆 #9 teng 的帖子

LAMP




 AL8 Forum © All rights reserved.
頂部
 CrazyFong
 0044522
Rank: 3Rank: 3Rank: 3

頭銜: Conqueror

帖子: 121

精華: 0

積分: 1830 點

現金: 68 元

存款: 0 元

閱讀權限: 20

註冊: 2006-5-5

狀態: 離線
 
發表於 2008-7-1 00:22  資料  個人空間  短消息  加為好友 
回覆 #9 teng 的帖子

搞唔掂- -..算喇- -..用linux..
唔該哂你地- -




 AL8 Forum © All rights reserved.
頂部
 teng
 0009876
 此發帖者已被禁止發言

頭銜: Banned to Post

帖子: 6713

精華: 0

積分: 58771 點

現金: 0 元

存款: 1551 元

閱讀權限: 0

註冊: 2004-10-16

狀態: 離線
 
發表於 2008-7-1 14:38  資料  個人空間  主頁 短消息  加為好友 
*** 作者被禁止或刪除 內容自動屏蔽 ***

聯繫我們 - AL8 Forum - 網頁空間由 I-SERVICES 提供 - Archiver - WAP
清除 Cookies, 當前時區 GMT+8, 現在時間是 2008-10-13 20:08
Processed in 0.061082 second(s), 7 queries , Gzip enabled
Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.