在Ubuntu上安裝Apache,每次重啟,都會出現以下錯誤提示:Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName解決辦法修改 httpd.conf 檔案開啟終端,輸入以下命令:sudo vim /etc/apache2/httpd.conf預設情況下,這個是一個空檔案,在檔案中加入以下內容:ServerName
OpenLayers中的控制項,是通過載入到地圖上而起作用的,也算地圖表現的一部分。同時,控制項需要對地圖發生作用,所以每個控制項也持有對地圖(map對象)的引用。 前面說過,控制項是於事件相關聯的。具體的說就是控制項的實現是依賴於事件綁定的,每個OpenLayers.Control及其子類的執行個體都會持有一個handler的引用的。 那麼,怎麼來建立並添加一個控制項呢?用下面的語句: //執行個體化一個控制項 var control1 = new OpenLayers.Contr
“FYI, I am very newbie in iPhone development.”I had upgraded Xcode to 4.2 beta 4 and realised that there is no more templates for iOS 4.Obviously, it did not include iOS 4 SDK because it said “with iOS 5 SDK”, duh!I could not go back to Xcode beta 3
在ubuntu10.10中安裝VMWare Tool時,遇到The path " " is not valid Searching for GCC...Detected GCC binary at "/usr/bin/gcc".The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.Would you like to change it? [no]The path " " is not
mssql_fetch_row — Get row as enumerated array格式為:array mssql_fetch_row ( resource $result ) mssql_fetch_array — Fetch a result row as an associative array, a numeric array, or both格式為:array mssql_fetch_array ( resource $result [, int $result_type ] )
一、 簡單查詢 簡單的Transact-SQL查詢只包括挑選清單、FROM子句和WHERE子句。它們分別說明所查詢列、查詢的表或視圖、以及搜尋條件等。 例如,下面的語句查詢testtable表中姓名為“張三”的nickname欄位和email欄位。SELECT nickname,email FROM testtable WHERE name='張三' (一)