EnableMMAP on修改 php/php.ini,移除 realpath_cache_size 前方的註解符號;,並將其值改為 4M
EnableSendfile on
realpath_cache_size= 4M修改 mysql/bin/my.ini
innodb_flush_log_at_trx_commit = 2修改完畢後,從 XAMPP 控制臺重新啟動 MySQL、Apache。
EnableMMAP on修改 php/php.ini,移除 realpath_cache_size 前方的註解符號;,並將其值改為 4M
EnableSendfile on
realpath_cache_size= 4M修改 mysql/bin/my.ini
innodb_flush_log_at_trx_commit = 2修改完畢後,從 XAMPP 控制臺重新啟動 MySQL、Apache。
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px) { /* STYLES GO HERE */}
iPhone 2G-4S in portrait & landscape@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) { /* STYLES GO HERE */}
HTML中常會看到「表單的NAME」和「ID」這兩種屬性,其實他們是同一個意思,都是為了標記對象名稱。他們所不同的是NAME是由Netscape定義的,而ID是由Microsoft定義的。
再來,表單元素(form input textarea select)與框架元素(iframe frame)必須使用NAME,因為這些元素都與表單(框架元素作用於form的target)提交有關,在表單的接收頁面只接收有NAME的元素。
這時賦與ID的元素通過表單是接收不到值的,大家自己可以驗證一下。
那ID可以用在那些元素呢?像是body li a table tr td th p div span pre dl dt dd font b 等等,都是可以使用ID。
最後要怎麼記憶這些,只能賦與ID但不能賦與NAME的元素呢?只要記住下句話就OK囉~
「除去與表單相關的元素都只能賦ID」
<meta name = "viewport" content = "width = device-width, initial-scale = 1.0, user-scalable = no">
—–BEGIN LICENSE—–
Patrick Carey
Unlimited User License
EA7E-18848
4982D83B6313800EBD801600D7E3CC13
F2CD59825E2B4C4A18490C5815DF68D6
A5EFCC8698CFE589E105EA829C5273C0
C5744F0857FAD2169C88620898C3845A
1F4521CFC160EEC7A9B382DE605C2E6D
DE84CD0160666D30AA8A0C5492D90BB2
75DEFB9FD0275389F74A59BB0CA2B4EF
EA91E646C7F2A688276BCF18E971E372
—–END LICENSE—–
<meta http-equiv="refresh" content="0;url=http://mepopeidia.com" />其中 content=... 中的 0 是指 0 秒後自動重新整理,並轉址到 "http://mepopeidia.com" 這個 URL。
<script>document.location.href="http://mepopedia.com";</script>
<?php header('Location: http://mepopedia.com'); exit;?>
—–BEGIN LICENSE—–Patrick CareyUnlimited User LicenseEA7E-188484982D83B6313800EBD801600D7E3CC13F2CD59825E2B4C4A18490C5815DF68D6A5EFCC8698CFE589E105EA829C5273C0C5744F0857FAD2169C88620898C3845A1F4521CFC160EEC7A9B382DE605C2E6DDE84CD0160666D30AA8A0C5492D90BB275DEFB9FD0275389F74A59BB0CA2B4EFEA91E646C7F2A688276BCF18E971E372—–END LICENSE—–
安裝步驟:
更新方式:
當出現「有新的phpmyadmin可用,請考慮升級」時,這不是太大的問題,要更新時到官方網站下載新版本,再覆蓋到原本的資料夾位置就行了,但千萬記得備份你的config.inc.php檔案。
其他常見問題:
<?php
ini_set('display_errors', 'On');
error_reporting(6143);
session_start();
$sessionSavePath = ini_get('session.save_path');
echo '<br><div style="background:#def;padding:6px">'
, 'If a session could be started successfully <b>you should'
, ' not see any Warning(s)</b>, otherwise check the path/folder'
, ' mentioned in the warning(s) for proper access rights.<hr>';
if (empty($sessionSavePath)) {
echo 'A "<b>session.save_path</b>" is currently', ' <b>not</b> set.<br>Normally "<b>';
if (isset($_ENV['TMP'])) {
echo $_ENV['TMP'], '</b>" ($_ENV["TMP"]) ';
} else {
echo '/tmp</b>" or "<b>C:\tmp</b>" (or whatever', ' the OS default "TMP" folder is set to)';
}
echo ' is used in this case.';
} else {
echo 'The current "session.save_path" is "<b>', $sessionSavePath, '</b>".';
}
echo '<br>Session file name: "<b>sess_', session_id(), '</b>".</div><br>';
?>