Time of Update: 2016-06-23
http://active6.com/blog/flex/flex-php-security-basics-part-one/ I've been creating Flash / PHP web sites and applications for years, but I am relatively new to Flex. After browsing the Adobe PHP samples for Flex earlier this week, I couldn't help
Time of Update: 2016-06-23
這天去zend網站上逛了逛, 看到一個monkeyspider 的標籤, http://devzone.zend.com/article/4704-Using-JavaScript-in-PHP-with-PECL-and-SpiderMonkey 嘿嘿, 原來是用c寫了一個擴充php擴充 把spiderMonkey和php 聯起來了。 照著試了試, 還真跑下來了, 拿上來分享一下。 首先是下載 http://ftp.mozilla.org/pub/mozilla.org/js/
Time of Update: 2016-06-23
php的session的特點,多種storage; openid的nonce,儲存狀態 比較。相似之處。 PHP實現多伺服器session共用之NFS共用http://imysql.cn/node/202 實際上,使用NFS共用時,NFS掛載的檔案夾跟本地檔案系統的檔案夾沒有什麼區別,所以php也能直接去刪除。在PHP V5.2.9下測試通過。 修改php.ini設定檔為: session.gc_probability = 1
Time of Update: 2016-06-23
Zend Server安裝完後的調試 1.\Zend\ZendServer\etc\ZendEnablerConf.xml裡有一個亂碼要刪掉 2.\Zend\Apache2\conf\httpd.conf裡DocumentRoot設一下 DocumentRoot "C:\Program Files\Zend\Apache2\htdocs\HKBiz\public" P.S.回家練習一下,再看看有什麼要調的 Zend Studio開發環境學習 1.PHP Project
Time of Update: 2016-06-23
一伺服器上的PHP版本為5.29,可是查看安裝的模組,居然沒有GD庫,呵呵。 在使用 memcache.php 的時候,頁面上就看不到漂亮的餅圖了,呵呵。 安裝步驟: 1、進入源碼目錄 # cd php-5.2.9/etc/gd/ 2、可能需要 phpize 一下 3、編譯,這裡如果找不到 configure 檔案,則需要執行2中的步驟。 # ./configure --with-gd # make # make install 4、修改 php.ini
Time of Update: 2016-06-23
PHP開發程式,通常都是php代碼和html混編在一起,那麼這樣有什麼問題呢? 首先,不利於分工合作。一般來說,都會由程式員來寫代碼,美工人員設計頁面。那麼在這種方式中,程式員必須等待美工人員把介面設計好才能開始工作。也就是說程式員和美工的工作是不能同步的。 其次、不利於維護,可維護性差。比如說程式固定後,要修改介面,那麼必須由美工修改後,程式員再重新添加。 最後,程式結構混亂,可讀性差。HTML和PHP混編在一起,一旦程式一多,就會變的非常的淩亂。
Time of Update: 2016-06-23
[利用yum命令配置、升級所需程式庫] # sudo -s# LANG=C# yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses
Time of Update: 2016-06-23
六月三十號,PHP.net發布了5.3.0版本的Release版本。一直沒有時間來關注,今天特別去看了一下,增加了很多有意義的新特性:比如眾望所歸的命名空間支援。原本以為這會在PHP6裡才會實現,沒想到5.3.0就增加了。在PHP6之前,5.3.0也確實算得上一個比較值得關注的版本了。簡單列舉一下比較值得關注的特性,關於全部的更新日誌可以參考ChangeLog(http://www.php.net/ChangeLog-5.php#5.3.0)另外PHP團隊提供了一個專題來指導如何將5.2.x的項
Time of Update: 2016-06-23
代碼 load( $URL ); // print""; //print( $dom->saveXML()); $dictArray = $dom -> getElementsByTagName( "
Time of Update: 2016-06-23
PHP學習回憶 花?成兩個月學??PHP?皮毛,算是寫?個完整??出? ?住將呢兩個月學到??記低,費事以後忘記?啦,做嚇記念都好 ---------------------------------------------------------------------------------------- PHP學習回憶 1現在讓我們開始吧~~ 環境的搭建 先講一下WAMP的搭建(WINDOWS+APACHE+MYSQL+PHP) WINDOWS:WIN2K SERVER
Time of Update: 2016-06-23
1.$_SERVER["QUERY_STRING"] 查明(query)的字串 2.$_SERVER["PHP_SELF"] 當前正在執行指令碼名 3.$_SERVER["REQUEST_URI"]訪問此頁面需要的URI 4.$_SERVER["SCRIPT_NAME"]包含當前指令碼的路徑 5.$_SERVER["HTTP_HOST"]當前請求的HOST 擷取當前URL:"HTTP://".$_SERVER["HTTP_HOST"].$_SERVER["PHP_SELF"]
Time of Update: 2016-06-23
一,環境說明: OS:windows server 2003 r2 企業版 SP2; IIS6.0;php-5.2.11;MySql5.1.40; phpMyAdmin-3.2.3-all-languages 二,配置PHP步驟 1,將下載下來的php壓縮包解壓到一個目錄,如c:\php 2,設定環境變數,我的電腦->屬性->進階->環境變數->系統變數, 在變數path後面追加php和php擴充的路徑,分別是,C:\php;C:\
Time of Update: 2016-06-23
Windows azure 發布好一段時間了,Fast CGI 的支援,使得Php也可以跑在上面。 [更多資訊可以訪問 http://phpazure.com/] 通過以下幾步簡單的配置,您的php就發行就緒到雲端了。 1. ServiceDefinition.csdef 2. Web.config 在 system.webServer 的 handlers 節點中添加如下代碼
Time of Update: 2016-06-23
在Windows系統上使用Apache2.2上模組化安裝PHP5.3 PHP5.3增加了一些功能,如namespace,靜態遲綁定等。 1下載php5.3和apache2.2php5.3一定要下載VC6的,VC9的不能使用apache,只能用iis 2 將此壓縮包解壓到d:\php下,也可以解壓其它盤的目錄 安裝apache2.2 3
Time of Update: 2016-06-23
用agi實現電話回撥,技術很簡單,只要知道就會用。 [capiin]exten => 1234/016066666,1,Wait,1exten => 1234/016066666,2,AGI,callback.phpexten => 1234/016066666,3,Hangup callback.php
Time of Update: 2016-06-23
原文:http://www.ebrueggeman.com/blog/integers-and-floating-numbers/ Background PHP is not a strictly typed language, and many programmers often overlook problems that can be caused with not paying attention to numeric types. The problem is that PHP
Time of Update: 2016-06-23
代碼 Description: 1.error_reporting () to set PHP's error-level and return to the current level. Its scope is the current page 2.Display_errors directive
Time of Update: 2016-06-23
Glen Stansberry on Sep 8th 2008 with 151 comments Share 4diggsdigg Discover the industry leader in Email Marketing.Try iContact for FREE today! With PHP’s widespread adoption,it’s
Time of Update: 2016-06-23
PHP是非常強大的伺服器端指令碼語言,但是強大的功能總是伴隨著重大的危險,PHP本身老版本有一些問題,比如在 php4.3.10和php5.0.3以前有一些比較嚴重的bug,所以推薦使用新版。另外,目前鬧的轟轟烈烈的SQL Injection也是在PHP上有很多利用方式,所以要保證安全,PHP代碼編寫是一方面,PHP的配置更是非常關鍵。在這節裡,你將學習修改 PHP.ini檔案來阻止一些PHP潛在的危險因素 。 一、 php.ini檔案的選擇 設定有效 PHP
Time of Update: 2016-06-23
PHP測試方案一、 效能測試(xhprof)1)、安裝Wget http://pecl.php.net/get/xhprof-0.9.2.tgztar xzvf xhprof-0.9.2.tgzcd xhprof-0.9.2/extension/usr/local/php-5.3.5/bin/phpize./configure ?with-php-config=/usr/local/php-5.3.5/bin/php-configmake && make