[FCKeditor]API使用語法 8月 19, 2011 以下為 FCKeditor API code的使用語法: var oEditor = parent .FCKeditorAPI.GetInstance('inputName'); //要加parent避免找不到API出現"FCKeditorAPI未定義" string = oEditor.EditorDocument.body.innerHTML ; //取出Editor目前裡面的字串 length = oEditor.GetXHTML(true).length; //判斷目前Editor裡字串長度 閱讀完整內容
裁縫機 - NX-250 到手!! 8月 17, 2011 俗話說,工欲善其事,必先利其器... 上過一次課後,徘徊於 B-500 與 NX-250 的我...最後還是下手了...orz 雖然價格貴到讓我趴在地上,但是還是決定把他抱回家...0皿0 在比較B-500跟NX-250的過程,有以下的比較考量: 閱讀完整內容
[PHP] 開啟+寫入檔案 8月 05, 2011 $today = date("D M j Y G:i:s"); $file = fopen($rootDir.$logDir,"a+b"); //開啟檔案 fwrite($file, "[".$today."] -> ".$str."\n"); fclose($file); 閱讀完整內容
[MYSQL]原密碼忘記的解決辦法 8月 03, 2011 現象: # mysql -uroot -p Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) 閱讀完整內容