作者jimshsu (jims)
看板PHP
標題Re: [請益] 請問phpMyadmin的驗證機制
時間Thu Jan 11 00:11:50 2007
依據你的建議
我找到這兩個檔
config.inc.php user_password.php
$cfg['Servers'][$i]['auth_type'] = 'config';
// Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
// with 'config' auth_type)
我搞不太清楚cookie跟http模式的差別
不知道是否有版友了解?
因為不同的帳號有不同的資料表
所以在我的案例預先寫好帳號密碼的config顯然不行
我現在問題是不知道要寫什麼變數到session或cookie讓myadmin直接可以針測到變數
因為phpMyAdmin在http的登入方式~~到底登入後
在各個操作頁面~~他是如何確認使用者的登入狀態?~
這點我還搞不懂~~XD
若有其他建議~~請多指教
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 134.208.7.229
※ 編輯: jimshsu 來自: 134.208.7.229 (01/11 00:23)