ºÜºÃÓõÄphpÖ´ÐÐʱ¼ä·ÖÎö¹¤¾ßwebgrind
ÒÔǰ·ÖÎöxdebugÓõÄÊÇ£¨wincachegrind£©http://sourceforge.net/projects/wincachegrind/
ÏÖÔÚÖ±½Ó°²×°webgrindÀ´µ÷ÊÔËÙ¶È»á¸üºÃ
http://xdebug.org/
ÏÂÔØµØÖ·£º
Source:
xdebug 2.0.3
Windows modules:
PHP 5.1.2-5.1.7
PHP 5.2.1-5.2.6
PHP 5.3.0dev
windows
±à¼php.ini£¬ÏÈ×¢Ê͵ôzend£º
[Zend]
;zend_extension_ts = “D:\Xampp\php\zendOptimizer\lib\ZendExtensionManager.dll”
ÆôÓÃx-debug
[xdebug]
zend_extension_ts = “D:\Xampp\php\ext\php_xdebug-2.0.0-5.2.2.dll”;±ØÐëΪÍêÕû·¾¶
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir=”D:\Xampp\tmp\xdebug”
linux
°²×°xdebugÀ©Õ¹
sudo pecl install xdebug
±à¼php.ini£¬ÆôÓÃx-debug
[xdebug]
zend_extension_ts = “/usr/lib/php5/xdebug.so” ;±ØÐëΪÍêÕû·¾¶
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir=”/tmp”
webgrind
£¨http://code.google.com/p/webgrind/ £©
ÏÂÔØµØÖ·£ºhttp://webgrind.googlecode.com/files/webgrind-release-0.81.zip
ÏÂÔØwebgrind£¬½âѹËõµ½webĿ¼
Ê×ÏÈ·ÃÎÊÐèÒªÓÅ»¯µÄphp³ÌÐò£¬get/postÇëÇóÖмÓÈëXDEBUG_PROFILE
ÀýÈçinfo.php£¬http://localhost/info.php?XDEBUG_PROFILE
È»ºó·ÃÎÊ£ºhttp://localhost/webgrind/
ĬÈÏauto£¬¼´Îª¸Õ¸ÕÇëÇóµÄÎļþprofile£¬[update]£¡
³ÌÐò²»¼æÈÝIE£¨±¾»ú²âÊÔwinxp+ie6£©£¬Èç¹ûµãÁËupdateÖ®ºóºÁÎÞ·´Ó¦£¬ÇëʹÓÃfirefox¡£
Ïà¹ØÎĵµ£º
1¡¢phpÓëmysql½¨Á¢Á¬½Ó
php.ini ¼ÓÔØmysql×é¼þ
extension=php_mysql.dllǰµÄ;È¥µô
exetension_dir=""·¾¶ÊÇ·ñÕýÈ·
PhpÁ¬½Ómysqlº¯Êý
mysql_connect:¿ªÆôMYSQLÁ¬½Ó
mysql_select_dir:´ò¿ªÒ»¸öÊý¾Ý¿â
@ºÍor die Òþ²Ø´íÎóºÍÌõ¼þÏÔʾ
mysql_connect("Ö÷»ú","Óû§Ãû","ÃÜÂë");
mysql_sele ......
ϸ²ì PHP V5.3.0 ÌØÐÔ
¼¶±ð£º Öм¶
Stephen B. Morris, CTO, Omey Communications
2009 Äê 12 ÔÂ 07 ÈÕ
Ëæ×ÅÁ÷ÐÐµÄ PHP ÓïÑԵIJ»¶ÏÑݱ䣬ºÜ¶àÐÂÌØÐÔʹËüÔÚÃæÏò¶ÔÏó·½ÃæÓÐÁ˽øÒ»²½µÄÔöÇ¿¡£±¾ÎÄͨ¹ýһЩ PHP V5.3 ʵÀýÑÝʾÑÓ³Ù¾²Ì¬°ó¶¨¡¢Ãû³Æ¿Õ¼äÖ§³Ö¡¢Àà·½·¨ÖØÔØÒÔ¼°±äÁ¿½âÎöºÍ heredoc Ö§³Ö¡£
ÐèÇó
³ýÁË¶Ô PHP ºÍ H ......
PHP³ÌÐòÔ±ÃÇÔÚ±àд´úÂë³ÌÐòʱ£¬³ýÁËÒª±£Ö¤´úÂëµÄ¸ßÐÔÄÜÖ®Í⣬»¹ÓÐÒ»µãÊǷdz£ÖØÒªµÄ£¬ÄǾÍÊdzÌÐòµÄ°²È«ÐÔ±£ÕÏ¡£PHP³ýÁË×Ô´øµÄ¼¸ÖÖ¼ÓÃܺ¯ÊýÍ⣬»¹Óй¦ÄܸüÈ«ÃæµÄPHP¼ÓÃÜÀ©Õ¹¿âMcryptºÍMhash¡£
ÆäÖУ¬McryptÀ©Õ¹¿â¿ÉÒÔʵÏÖ¼ÓÃܽâÃܹ¦ÄÜ£¬¾ÍÊǼÈÄܽ«Ã÷ÎļÓÃÜ£¬Ò²¿ÉÒÔÃÜÎÄ»¹Ô¡£
1.PHP¼ÓÃÜÀ©Õ¹¿âMcrypt°²×°
ÔÚ±ê×¼µÄPHP°²×°¹ý ......
<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
<input type="button" onclick="test();" value="Ìá½»"/>
<script type="text/javascript">
function test(){
var valid = {
& ......
×¢½â·ûºÅ:
// µ¥ÐÐ×¢½â
/* */ ¶àÐÐ×¢½â
ÒýºÅµÄʹÓÃ
’ ’ µ ......