原创 php瀏覽器下載文件 文件名 空格 中文 處理

php做下載文件的實現代碼及文件名中亂碼... 最近有人問我做下載文件的方法,對於php方法如下: <?php header("Content-Type: application/force-download"); header("

原创 學習筆記:phpexcel 導出文件 打開時提醒:Excel found unreadable content in

學習過程中遇到的一些問題收集: phpexcel 導出文件,  打開excel文件時提醒: "Excel found unreadable content in 'test.xlsx'. Do you want to recover t

原创 android中ADT版本問題: java.lang.NoClassDefFoundError和conversion to dalvik format failed with error 1錯誤

最近在ubuntu上面配置android開發環境時候出現n多錯誤,把心得說一下,如果遇到類似錯誤,修改下就好了,到目前爲止,ADT的版本已經升級到18了。當SDK版本升級到4.0.3的時候,會要求ADT版本是17或者更高的版本,當升級

原创 gerrit安裝中smtp配置

在gerrit安裝中配置smtp後,確認smtpserver,用戶名、密碼全都正確後,發送郵件報錯: 1.Mail Error: SMTP server rejected auth: 535 5.7.3 Authentication un

原创 gitolite:bad reponame 'xxx/.*$' or you forgot to set $GL_WILDREPOS

在gitolite裏修改權限,添加正則表達式後提交  repo test/.*$ R = test 提示 warning:  remote: bad reponame 'test/.*$' or you forgot to set $GL

原创 Android NullPointerException解決方法

Android NullPointerException解決方法       不知道你在開發中遇到Android空指針異常NullPointerException相關的問題,這類問題的可能性比較多,常規的錯誤如下      

原创 學習筆記:PHPExcel PHPExcel_Style_Conditional() getStartColor()->setARGB('');結果顯示黑色或無色

...............略............ $objConditional4 = new PHPExcel_Style_Conditional(); $objConditional4->setConditionType(P

原创 php日期時間格式寫法

php日期時間格式寫法   string date ( string $format [, int $timestamp ] ) 返回將整數 timestamp 按照給定的格式字串而產生的字符串。如果沒有給出時間戳則使用本