Time of Update: 2014-08-19
標籤:io 檔案 amp sql ef on sp 安裝 在源PHP安裝檔案中進入注意是你下載的php源檔案軟體包cd
Time of Update: 2014-08-08
標籤:style blog color os ar div c++ log 1:yum install cmake make ncurses-devel gcc-c++ bison2:cmake -DCMAKE_INSTALL_
Time of Update: 2014-08-07
標籤:style os 資料 size 資料庫 伺服器 sql res <?php //1.連結MySQL伺服器 $c
Time of Update: 2014-07-28
標籤:discuz style http color 使用 os strong 檔案 Win2003+apache+PHP+SqlServer2008 配置 安裝前的準備: 1.Apache2
Time of Update: 2014-09-03
標籤:phpmyadmin windows wampserver 昨天,寫了如何在Linux下配置LAMP開發環境。今天說說Windows下如何快速使用整合的軟體來搭建Windows的PHP開發環境。
Time of Update: 2014-08-14
標籤:php-cgi.exe - fastcg iis php fastcgi php無法解析 今天重裝了一下系統,是32位的WIN7,裝完系統後想把IIS裝回來,因為有時候需要用到筆記本處理一些事情,結果WEB伺服器正常了,但IIS的FASTCGI模組始終不能解析PHP,一直報php-cgi.exe - FastCGI
Time of Update: 2014-08-08
標籤:windows php 編譯 首先這是一個漫長的過程,嘗試編譯此外掛程式的使用者一定要有耐心。大致流程可以劃分為:編譯ImageMagick編譯MagickWand關於PHP的版本。Windows的PHP是用哪個版本的VC編譯的,這個一定要先弄清楚,例如我的是VC9編譯的,那麼一定要下載對應的VC來編譯。例如VC9對應VS2008,VC10對應VS2010。下面切入正題:首先下載PHP的原
Time of Update: 2014-07-14
標籤:style http java color os width 通過google線上產生二維碼的api線上產生二維碼。代碼:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
Time of Update: 2014-07-14
標籤:discuz style blog http 使用 strong WAMP Server助你在Windows上快速搭建PHPIntegration
Time of Update: 2014-08-29
標籤:html php 單引號 雙引號 共置符 逸出字元 echo //echo "<tr bgcolor = '{$bgcolor}'>"; //echo '<tr bgcolor="
Time of Update: 2018-12-08
現在終於到了我們的第三個檔案,include.php 它為程式建立起一個使用者介面。"include.php" 包含三個表單,一些PHP代碼擷取當前的目錄列表並將它們存入三個變數$files (包括目前的目錄下的檔案),$file_sizes (相應的檔案大小),and $dirs (包含子目錄名)第一個表單使用$dirs 產生一個下拉式目錄列表,對應於“action=CWD”。第二個表單使用$files
Time of Update: 2018-12-08
四、基於XML_RPC的Web服務 利用XML_RPC構造和使用服務是很方便的。企業為自己提供的各種服務部署XML_RPC伺服器,使用者、客戶軟體和客戶企業就可以使用這種服務構造出高端服務或者面向終端使用者的應用。這種提供更有效、廉價和優質服務的競爭將極大地提高應用服務的品質。
Time of Update: 2018-12-08
What is FPDF?FPDF is a PHP class which allows to generate PDF files with pure PHP, that is to say without using the PDFlib library. The advantage is that PDFlib requires a fee for a commercial usage. F from FPDF stands for Free: you may use it for
Time of Update: 2018-12-08
全球超過300萬個互連網網站的管理員都在使用PHP,使得它成為最為普及的伺服器端指令碼語言之一。其特點是運行速度快、穩定可靠、跨平台,而且是開放原始碼軟體。隨你使用的水平不同,PHP可以很簡單,也可以很複雜,可以只使用它發送HTML表格元素,還可以在PHP應用程式中整合Java和XML。 如果你對PHP有一定的瞭解或者看過一些初步的教材,這些技巧可以擴充你對PHP的認識,使你掌握一些常見的和進階的PHP功能。 一、把PHP安裝為Apache的DSO
Time of Update: 2018-12-08
<?php /* 需求,建立一個test資料庫,在裡邊建一個test表,裡面就 只要id欄位,輸入一下資料就可以啦。。 由於水平有限,難免出錯。。 */ $conn = mysql_connect("localhost","root",""); $maxnum = 2; //每頁顯示記錄條數 mysql_select_db("test", $conn); $query1 = "SELECT COUNT(*) AS totalrows FROM test "; $result1 =
Time of Update: 2014-08-29
CentOS 6.5 通過 PHP函數的sendmail 發送郵件,centossendmail 很多網站需要用到Sendmail函數發送啟用郵件,在centos中內建了Sendmail模組,直接調用即可,如果遇到問題,可採用如下兩個步驟檢測並解決: 1、 命令列輸入:echo "This is test mail" | mail -s 'Test mail Title' testname@mail.com
Time of Update: 2014-08-29
如何配置nginx同時運行不同版本的php-fpm,nginxphp-fpm在/usr/local/php/etc/php-fpm.conf裡找到listen = 127.0.0.1:9000將連接埠9000修改為9001在相應的nginx配置裡也做同樣的連接埠修改nginx php fpm
Time of Update: 2014-08-15
mac nginx php-fpm,nginxphp-fpm再一次被困在一個傻問題。因為我竟然懷疑是不是mac本身就和centos的安裝不一樣。在一次次地排錯後,終於發現。原來是我的nginx.conf的一行配置少寫了一個字母。最後多虧用ls檢查來定位到這個錯誤。根本就不是什麼大難題。再一次犯下這種錯誤太痛苦了。結論:os x 下源碼安裝nginx+php開發環境和centos的方法是一樣的。nginx php fpm
Time of Update: 2014-07-16
PHP的mod_rewrite重寫模組將.php尾碼換成.html,mod_rewrite.phpapache Rewritemod_rewrite的魔力簡單舉例:建立三個檔案,分別命名為 test.html,test.php和.htaccesstest.html 輸入:<h1>This is the HTML file.</h1>test.php輸入:<h1>This is the php
Time of Update: 2014-03-24
nginx.conf中配置:server {listen 8001;server_name localhost;#charset koi8-r;#access_log logs/host.access.log main;location / {root /opt/nginx/html;index index.html index.php;}#error_page 404 /404.html;# redirect server error pages to the static page