原创 checkdsk u盤無法讀取
chkdsk j:/f
原创 PHP今天0點UNIX時間戳
今天0點表示,方法一: $today = mktime(0, 0, 0, date('m', time()), date('d', time()), date('Y', time())); 方法二: strtotime(date(
原创 ECMALL get_options 生成下拉菜單
$this->assign('ad_pos', $this->_ad_pos_mod->get_options(-1, false)); /** * 取得分類列表 * * @param int $par
原创 mysql rownum 的另外一種實現方法,連續號碼段查詢
-- -- 表的結構 `t` -- CREATE TABLE `t` ( `a` int(11) NOT NULL, `m` int(11) NOT NULL, PRIMARY KEY (`a`) ) ENGINE=M
原创 二維碼在線生成圖片PHP源代碼
二維碼現在變得越來越流行了,這裏介紹兩端PHP的二維碼生成代碼,一段使用了Google開放的二維碼API,另一段使用的是PHP QR Code二維碼開源類庫,都很簡單。 1、使用Google Chart API生成二維碼圖片 Goo
原创 laramall 孫*華 是騙子,大家不要上當
北京麥維創想科技有限公司孫*華是騙子,已經有多家公司將孫*華告上法庭了,可恨。你也有被騙,可以加 qq 2609989750 一起來維權。奉勸大家不要去買laramall 的源碼或者 larashuo 視頻,源碼一直說推遲,現在直接說要
原创 JQuery表格內容過濾
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>JQuery表格內
原创 smarty 裏面如何判斷 是最後一條記錄 就不輸出 “|”
<{ foreach from=$rscity item=one name=listname }> <{ if !$smarty.foreach.listname.last}> 這條語句就可以判斷最後
原创 PHP 去除HTML標籤
var_dump(html_entity_decode($jianjie['content'], ENT_QUOTES, 'UTF-8')); $this->assign('jianjie', str
原创 {$first_query_time|date:complete} 顯示完整時間
{$first_query_time|date:complete}
原创 ECMall報Strict Standards: Non-static method Conf::get() should not be called statically解決
用到ECMall安裝後提示:Strict Standards: Non-static method Conf::get() should not be called statically, assuming $this from inco
原创 smarty modifier 函數
smarty: <td>{$info.receive_group|modifier:identity_cate}</td> php: gloabel.lib.php /** * 獲取用戶身份 * @param
原创 jquery 圖片加載完後間隔2秒隱藏
<script type="text/javascript"> $(document).ready(function() { document.getElementById("img2").
原创 MYSQL 字段時間戳轉換爲可讀日期時間
SELECT id,FROM_UNIXTIME( `add_time`, '%Y-%m-%d %H:%i:%S' ) AS `t` ,FROM_UNIXTIME( `verify_time`,
原创 PHP服務端推送技術Long Polling
服務端推送技術應用越來越普遍,應用範圍也越來越寬廣,技術解決方案也越來越成熟且豐富。很多SNS網站的chat功能就有用到了Long Polling技術。比如fackebook, kaixin001。 Long Polling原理其實很簡單