解決了 phpMyVisites 圖表的中文亂碼問題
phpMyVisites 2.2 bata2
在 Windows 環境下
// Use this code to write directly to the COM1 serial port
// First, you want to set the mode of the port. You need to set
// it only once; it will remain the same until you reboot.
// Note: the backticks on the following line will execute the
// DOS ‘mode’ command from within PHP
`mode com1: BAUD=9600 PARITY=N data=8 stop=1 xon=off`;
$fp = fopen (“COM1:”, “w+”);
if (!$fp) {
echo “Uh-oh. Port not opened.”;
} else {
$e = chr(27);
$string = $e . “A” . $e . “H300”;
$string .= $e . “V100” . $e . “XL1SATO”;
$string .= $e . “Q1” . $e . “Z”;
echo $string;
fputs ($fp, $string );
fclose ($fp);
}
?>
有機會測試看看。
方法一:
$downloadfile=”somefile.txt”;
header(“Content-disposition: attachment; filename=$downloadfile”);
header(“Content-Type: application/force-download”);
方法二:
有許多的文章,不過都是英文的
http://www.melonfire.com/community/columns/trog/archives.php
http://www.devshed.com/c/b/PHP/
安裝好 dotProject 之後,新增了 Company、Project、Task 後,馬上就去看一看甘特圖(Gantt Chart)的顯示結果,居然沒有產生出來,如下圖:
只好再繼續研究解決的方法
(Read the rest of this entry…)