Time of Update: 2018-12-04
需要配置一個環境,我在hosts中,配置了一個地址,比如:127.0.0.1 xj.local通過Ping xj.local,可以看出來是訪問的主機,Pinging xj.local [127.0.0.1] with 32 bytes of data:Reply from 127.0.0.1: bytes=32 time<1ms TTL=64Reply from 127.0.0.1: bytes=32 time<1ms TTL=64Reply from 127.0.0.1:
Time of Update: 2018-12-04
首先致謝:本文大量參考了金山逍遙網系統架構師-張宴的Nginx 0.7.x + PHP 5.2.10(FastCGI)搭建勝過Apache十倍的Web伺服器(第5版)[原創] 一文,謝謝張宴為nginx推廣普及所作的貢獻。之所以要在ubuntu server
Time of Update: 2018-12-04
看下面的一段代碼,剛開始沒有弄明白原理,因為發現下面的form表單,沒有我們平時說的input type="submit"這樣的提交按鈕,也沒有javascript中談到的form.submit綁定在某個點擊事件上面,於是卡殼了。但是的確通過圖片的提交按鈕,的確是可以對該form表單進行提交,莫非....img也可以對錶單進行提交:<form name="uploadForm" enctype="multipart/form-data" method="post"
Time of Update: 2018-12-04
最近的項目中,行動裝置要從伺服器擷取圖片,發現一個問題,特記錄下:開始web端的做法是,接到請求後去讀取圖片檔案,然後返回資料流,用戶端將擷取到的資料流在解碼成圖片,但是在測試時去發現有時會出現解碼失敗的情況,通過調試發現是因為資料流有問題,在瀏覽器中直接開啟連結儲存下來的圖片是有問題的。後來將伺服器端的讀取圖片的操作去除,直接存取伺服器圖片,就可以了。不會web端開發,不知道為什麼,暫且記錄下吧。
Time of Update: 2018-12-04
國內一些不錯的UI設計網站(15)+01 http://www.chinaui.com/ 優艾網 02 http://www.uimaker.com/ UI製造者03 http://www.uirss.com/ UIRSS 04 http://www.g-ui.net/ Ganeui 05 http://www.uiimg.com/ UIIMG 06 http://www.uisheji.com/
Time of Update: 2018-12-04
公司內部推薦了一個軟體,對於我們進行WEB開發的人員來說,的確是非常重要:那就是Fiddler,詳細的使用可以見:http://younglab.blog.51cto.com/416652/268539當你通過tools的工具列,修改了hosts,當你通過IE訪問的時候,會自動按照你這裡的hosts配置,跳轉到對應的IP伺服器。優先順序分別是:DNS->Fiddler->HOSTS->..然後你可以通過下面的命令列添加顯示IP地址,可以看到你的修改是否已經生效:cols
Time of Update: 2018-12-04
PC-Lint 重要檔案說明 Msg.txt :解釋警示的內容。 options.lnt :反映全域編譯資訊顯示情況的選項檔案,通常需要添加自定選項以使代碼檢查更為嚴格。 env-xx.lnt :講述如何將PC-lint與對應的編輯環境結合起來,xx是si表示是為Source Insight配置的檢查環境,xx是vc6則表示是為Visual C++ 6.0準備的檢查環境。 co-xxx.lnt :選定的編譯器與庫選項。 std.lnt :標準設定檔,包含記憶體模型等全域性東西。
Time of Update: 2018-12-04
#SetEnv APPLICATION_ENV productionSetEnv APPLICATION_ENV development # php setting<IfModule php5_module> # Make sure the default timezone is set # Can also be set within application using date_default_timezone_set # .... # ========
Time of Update: 2018-12-04
突然發現zend studio 8
Time of Update: 2018-12-04
進同花順已經有3個月了,這三個月,我自我感覺成長還是很快的。做了不大不小的項目3個,儘管都是其中的一部分功能,但是對我理解整個軟體產品,項目周期,培養自己的時間緊迫感,軟體周期的把握,還是有一定的協助的。我在這邊都是做的收費產品,我想從技術的角度,來好好總結過去做項目所積累的經驗和教訓。無論是好的方面,還是差的方面,都是人生的一道記憶裂痕。
Time of Update: 2018-12-04
調用QQ提供的介面的方法 <ul class="ask_online"><li class="toplink"><!--LAMP兄弟連線上諮詢--></li><li style="margin-top: -5px;" mce_style="margin-top: -5px;" class="ask_cont ico"><span style="padding-left: 5px;"
Time of Update: 2018-12-04
最近Android項目中想用跑馬燈效果,於是寫了如下類:public class MarqueeTextView extends TextView { ...... @Override public boolean isFocused() { return
Time of Update: 2018-12-04
prefork模式這個多路處理模組(MPM)實現了一個非線程型的、預派生的web伺服器,它的工作方式類似於Apache
Time of Update: 2018-12-04
<?php$mimetypes = array('ez' => 'application/andrew-inset','hqx' => 'application/mac-binhex40','cpt' => 'application/mac-compactpro','doc' => 'application/msword','bin' => 'application/octet-stream','dms' =>
Time of Update: 2018-12-04
很多時候使用者的輸入,不應該相信,所以需要進行過濾: $a = '<form><html><mce:script type="text/javascript"><!--alert("aa")// --></mce:script>';echo htmlentities($a) . "/n";$b = html_entity_decode($a);echo 'b=' . $b;$text = '<p>Test</p>
Time of Update: 2018-12-04
只要把如下代碼複製到html中就可以了。 <div style="display: block; overflow: hidden; height: 126px; width: 413px; z-index: 7998; font-size: 12px; position: absolute; top: 176px; left: 423.5px;" id="kfivtwin"><div style="position: relative; overflow: hidden;
Time of Update: 2018-12-04
<div class="show_cont hide" id="loading"><img src="css/loading.gif"></div><div class="show_box hide" id="cover"></div> .show_cont { width:100px; height:100px; overflow:hidden; position:absolute; top:120px;
Time of Update: 2018-12-04
第一步:安裝依賴包1. 安裝python 2.6版或者更高(ubuntu預設都已安裝,可以在terminal中使用 pyhton -v 命令查看python版本)。在11.10中,python的版本為2.7.2+我的系統顯示:Python 2.7.2+ (default, Oct 4 2011, 20:03:08) 2. 安裝其他依賴包:sudo apt-get install g++ curl libssl-dev apache2-utils3. 安裝git工具:sudo apt-get
Time of Update: 2018-12-04
主要是參考了:http://www.qianshoublog.com/post/4039.html1.安裝apachesudo apt-get install apache22.安裝SVNsudo apt-get install subversionsudo apt-get install libapache2-svn3.建立SVN儲存倉庫的檔案夾sudo mkdir /var/svn4.使用SVN命令,建立儲存倉庫sudo svnadmin create
Time of Update: 2018-12-04
上傳一個檔案,提示資訊如下:Failed Downloading files from : [advancedSearch.function.php] to: [advancedSearch.function.php] error message:[Operation failed. Security violation] date [Tue Sep 27 15:31:33 CST 2011]---------------------------------------- Upload