Time of Update: 2018-12-05
啟動apache遇到錯誤:httpd: Could not reliably determine the server's fully qualified domain name[root@server httpd-2.2.4]# /usr/local/apache/bin/apachectl starthttpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1
Time of Update: 2018-12-05
本文介紹如何在CentOs6.2下面使用YUM配置安裝LAMP環境,一些兄弟也很喜歡使用編譯的安裝方法,個人覺得如果不是對伺服器做定製,用yum安裝穩定簡單,何必去download&make&make install呢。Step1.
Time of Update: 2018-12-05
Query的兩個方法,list() 和 iterate() , 兩個方法都是把結果集列出來, 他們有3點不一樣,1:返回的類型不一樣,list()返回List, iterate()返回Iterator,2: 擷取資料的方式不一樣,list()會直接查資料庫,
Time of Update: 2018-12-05
Create function f_GetPy(@str nvarchar(4000)) returns nvarchar(4000) as begin declare @strlen int,@re nvarchar(4000) declare @t table(chr nchar(1) collate Chinese_PRC_CI_AS,letter nchar(1)) insert into @t(chr,letter)
Time of Update: 2018-12-05
資料庫方面: threads 表建立 adminreply 欄位,在資料庫裡執行下句 SQL 即可。alter table `cdb_threads` add column `adminreply` tinyint (1) DEFAULT '0' NOT NULL after `supe_pushstatus` [newreply.inc.php]檔案存放路徑:/include/newreply.inc.php大約 353 行的位置,在“ updatepostcredits('+',
Time of Update: 2018-12-05
一、在Myeclipse中建立項目一般會有下列四種libraries: JRE System Library , java EE 6 Libraries , Referenced Libraries,Web App Libraries 二、各種libraries含義 JRE System Library: 指Java SE 的常用庫檔案集合,建立普通的Java項目均會使用; java EE 6 Libraries: 指Java
Time of Update: 2018-12-05
Hibernate operation: Could not execute JDBC batch update; SQL [insert into dchnpricecarchancesource (inpricecard_id, pricecard_id, count, sumcount, source_code, reason_code, ingroup_id, op_login, op_groupid, op_time, change_source, memo1, memo2,
Time of Update: 2018-12-05
發下我用手機驗證的方法吧。大家一起學些了。My
Time of Update: 2018-12-05
<?php$cr[classid]=$class_r[$bqr[classid]][bclassid];$bclassurl=sys_ReturnBqClassname($cr,9);?>父欄目名:<?=$class_r[$cr[classid]][classname]?><br>父欄目地址:<?=$bclassurl?> <?php$bclassid=$class_r[$bqr[classid]][bclassid];echo
Time of Update: 2018-12-05
Windows API提供了一個介面GetTickCount,可以擷取當前的系統已耗用時間,通過在開機時運行此程式,即可獲得系統的開機時間。下面是MSDN中對GetTickCount函數的說明:GetTickCountThe GetTickCount function retrieves the number of milliseconds that have elapsed since the system was started. It is limited to the
Time of Update: 2018-12-05
[e:loop={"select * from (select * from [!db.pre!]ecms_news where classid in (17,22,48,57,67,71,80) and isgood='1' order by newstime DESC )title group by classid limit 0,6",10,24,0}] <dl class="cl" >
Time of Update: 2018-12-05
1. PublicKey認證基本原理 Public Key(非對稱,asymmetric)認證使用一對相關聯的Key Pair(一個公開金鑰Public Key,一個私密金鑰Private
Time of Update: 2018-12-05
首先讓我們看看一個Bean是怎麼樣通過Spring執行個體化的例子:action-servlet.xml<bean id="foo" class="foo" singleton="true"> <property ……</bean>當singleton="true"的時候,這個屬性使spring所做的是,通過緩衝使所有對這個Bean的請求返回相同的一個類執行個體。而相對比較傳統的java類執行個體化而言,這裡有倆個不相同的地方值得注意:1、這些緩衝中Bean類執
Time of Update: 2018-12-05
在本文中,我將介紹一個可以跟隨頁面滾動的層效果,當使用者滾動滑鼠滾輪或者拖動瀏覽器捲軸時,浮動層將跟隨滾動。我通過執行個體講解相關外掛程式的應用以及使用時注意事項。該效果大多應用在企業網站的線上客服服務、電子商務網站的購物車以及商業網站的廣告條展示等場合。在本例中,我用到了一個重要的外掛程式:scroll-follow,該外掛程式在當前主流瀏覽器IE6+, FF2+, Safari 3,and Opera
Time of Update: 2018-12-05
CuteFtp通用註冊碼 Name:1key.126.com custom:1key sn:AY6RP7E6V9DX37 CuteFTP Pro V2.0註冊序號:A6B34224J2J423 姓名: Dr_NetCuteFTP Pro V5.0序號:A6B34224J2J423 姓名: Dr_Net 方法:先斷開網路連接,就是斷開INTERNET,再輸入上述序號。 會提示無法註冊,但你的序號可能是對的,關閉後繼續註冊。點繼續 關閉重起,開啟軟體,串連INTERNET,OK!
Time of Update: 2018-12-05
出現亂碼的地方大概有4個地方:1、檔案的編碼方式(就是你建立檔案的編碼),這一點需要設定編輯器的編碼方式。2、頁面沒有指定瀏覽器編碼的顯示方式,這一點解決的辦法是:1,如果頁面是.html需要設定<meta http-equiv="Content-Type" content="text/html; charset=utf8“/>,2如果是 x.php
Time of Update: 2018-12-05
前兩天報字串越界,尋找中發現,應該是取某一個字元的位置時,出錯了,原來使用lastIndexOf時要取得這個字元在被尋找的字串裡沒有。解決方案,在取位置之前,先要驗證一下,字元是否存在。 if(name.lastIndexOf("Form")!=-1){ name = name.substring(0, name.lastIndexOf("Form")); }JScript 語言參考 ------------------------------------------
Time of Update: 2018-12-05
<?php $file_path = 'http://kwcdn.ggmm777.com/swfs/93/8298wusp/index.swf';$file_name = 'index.swf';$file_size = filesize($file_path); header ( "Pragma: public" );header ( "Cache-Control: must-revalidate, post-check=0, pre-check=0" );header (
Time of Update: 2018-12-05
function getObject(objectId) { if (document.getElementById && document.getElementById(objectId)) { return document.getElementById(objectId); } else if (document.all && document.all(objectId)) { return document.all(
Time of Update: 2018-12-05
/*可以跨域請求資料*/其原理是對<script>裝載的服務端資料用全域函數(callback)操作首先寫個簡單樣本:(jsonpCallback可動態建立註冊成全域函數)<script type="text/javascript"> var m = Math.random();var jsonpCallback = new Function("result", "alert(result.data);");</script> <script typ