Time of Update: 2014-12-24
標籤:PHP中的PDO其實是一個很好用的擴充,在一些PHPCMS系統中,開發人員大多都有用到,那麼如何開啟PDO和PDO_MySQL擴充呢?方法同樣很簡單:開啟php.ini設定檔,找到extension=php_pdo.dll 和 extension=php_pdo_mysql.dll
Time of Update: 2014-11-05
標籤:ar os sp 資料 on 代碼 bs as 資料庫 php簡單的串連資料庫的代碼$host = "192.168.51.18:3306"
Time of Update: 2014-10-22
標籤:style io ar java sp 資料 on cti size $mysql_server_name=""; //資料庫伺服器名稱
Time of Update: 2014-10-07
標籤:php 資料庫 mysql 網站在進行新使用者註冊時,都會將使用者的註冊資訊存入資料庫中,需要的時候再進行提取。今天寫了一個簡單的執行個體。主要完成以下幾點功能:(1)使用者進行註冊,實現密碼重複確認,驗證碼校對功能。(2)註冊成功後,將使用者進行插入資料庫中進行儲存。(3)將資料庫表中資料進行提取,並列印。1.註冊表單在以前的幾篇部落格中,分享過註冊及登入表單的代碼。這次的代碼,大致相同
Time of Update: 2014-09-10
標籤:des http os io 使用 ar strong for 檔案 一、配置防火牆,開啟80連接埠、3306連接埠CentOS
Time of Update: 2014-09-02
標籤:style blog http os io 使用 ar for 檔案 .htaccess存取控制(Allow/Deny) 1. 驗證是否支援.htaccess
Time of Update: 2014-08-20
標籤:http 使用 io strong 檔案 資料 ar 代碼 安裝mongodb1.下載,解壓mongodb(下載解壓目錄為/opt)在/opt目錄下執行命令wget
Time of Update: 2014-10-21
標籤:style blog http color io os ar 使用 sp 以下為轉帖內容:原文出處:http://www.cnblogs.com/angelox/archive/2008/
Time of Update: 2014-09-03
標籤:phpmyadmin windows wampserver 昨天,寫了如何在Linux下配置LAMP開發環境。今天說說Windows下如何快速使用整合的軟體來搭建Windows的PHP開發環境。
Time of Update: 2014-08-25
標籤:http os 使用 io strong for ar 資料 art 我現在的老闆曾要求我為企業內部的Web服務提供一種標準的驗證方法。我遇到的一個主要問題就是我們公司主要使用了兩種平台:
Time of Update: 2014-08-11
標籤:style blog http color 使用 io for 2014 <?php// 定義一個函數getIP()function getIP(){global $ip;if
Time of Update: 2014-07-28
標籤:blog http os 檔案 io art html 代碼 windows下配置nginx+php環境 剛看到nginx這個詞,我很好奇它的讀法(engine
Time of Update: 2014-07-18
標籤:style blog http color os 檔案 剛看到nginx這個詞,我很好奇它的讀法(engine
Time of Update: 2014-05-21
標籤:style blog class c code java 官網地址:http://www.phpdoc.org/項目地址:https://github.com/phpDocumentor/phpDocumentor2phpDocumentor 2是一個可以
Time of Update: 2014-05-04
標籤:style blog tar ext color get 實現思路如下:通過win的“任務”功能來定時執行一個bat檔案,bat檔案會調用php.exe檔案,php.exe可以傳遞參數指定執行哪個類和方法方法如下:一,thinkphp開啟cli支援1、tp正好支援cli命令模式,手冊的路徑
Time of Update: 2014-05-06
標籤:php hosts 通過PHP程式完成修改Hosts檔案原理如下:1,首先是寫一個.bat檔案2,使用system(),調用.bat完成修改Hosts的目的代碼如下://建立.bat$filename = "updata.bat";//‘@echo 127.0.0.1 baidu.com >>C:\Windows\System32\Drivers\etc\hosts
Time of Update: 2014-05-05
標籤:des style blog class tar ext 關於PHP的PHP現在推出5.3.3版本了,不過下載的時候有幾個不同版本選擇。那就是VC6 X86和VC9 X86。 首先我來解答: VC6是什嗎? VC6就是legacy Visual Studio 6
Time of Update: 2014-08-29
標籤:html php 單引號 雙引號 共置符 逸出字元 echo //echo "<tr bgcolor = '{$bgcolor}'>"; //echo '<tr bgcolor="
Time of Update: 2014-11-16
5分鐘搭建nginx+php--------------(LNMP)新手專用這裡要先聲明一下,針對Nginx的php安裝和針對apache的php安裝是有區別的,因為Nginx中的php是以fastcgi的方式結合nginx的,可以理解為nginx代理了php的fastcgi,而apache是把php作為自己的模組來調用的。先把php 和php-fpm編譯安裝吧 請看http://heilinux.blog.51cto.com/6123663/1575582修改設定檔1cd php-5.6.2
Time of Update: 2014-05-24
錯誤記錄檔裝好 nginx-1.0.5 與 php-5.3.6(php-fpm) 迫不及待的測試 info.php(<?php phpinfo(); ?>),但是只返回了空白頁,什麼也沒有輸出,以下是錯誤記錄檔。192.168.6.82 - - [01/Aug/2011:13:54:20 +0800] "GET /info.php HTTP/1.1" 404 5 "-" "Mozilla/5.0 (X11; U; Linux x86_