PHP »·¾³ÅäÖÃ
PHP »·¾³ÅäÖÃ
PHP ¸ÅÊö
£º
PHPÊÇÓ¢Îij¬¼¶Îı¾Ô¤´¦ÀíÓïÑÔHypertext PreprocessorµÄËõд¡£PHP ÊÇÒ»ÖÖ HTML ÄÚǶʽµÄÓïÑÔ£¬ÊÇÒ»ÖÖÔÚ·þÎñÆ÷¶ËÖ´ÐеÄǶÈëHTMLÎĵµµÄ½Å±¾ÓïÑÔ£¬ÓïÑԵķç¸ñÓÐÀàËÆÓÚCÓïÑÔ£¬±»¹ã·ºµÄÔËÓá£
PHP ¹¦ÄÜ
£º
PHP ¶ÀÌصÄÓï·¨»ìºÏÁË C¡¢Java¡¢Perl ÒÔ¼° PHP ×Ô´´ÐµÄÓï·¨¡£Ëü¿ÉÒÔ±È CGI »òÕß Perl ¸ü¿ìËÙµÄÖ´Ðж¯Ì¬ÍøÒ³¡£ÓÃPHP×ö³öµÄ¶¯Ì¬Ò³ÃæÓëÆäËûµÄ±à³ÌÓïÑÔÏà±È£¬PHPÊǽ«³ÌÐòǶÈëµ½HTMLÎĵµÖÐÈ¥Ö´ÐУ¬Ö´ÐÐЧÂʱÈÍêÈ«Éú³ÉHTML±ê¼ÇµÄCGIÒª¸ßÐí¶à£»PHP»¹¿ÉÒÔÖ´ÐбàÒëºó´úÂ룬±àÒë¿ÉÒÔ´ïµ½¼ÓÃܺÍÓÅ»¯´úÂëÔËÐУ¬Ê¹´úÂëÔËÐиü¿ì¡£PHP¾ßÓзdz£Ç¿´óµÄ¹¦ÄÜ£¬ËùÓеÄCGIµÄ¹¦ÄÜPHP¶¼ÄÜʵÏÖ£¬¶øÇÒÖ§³Ö¼¸ºõËùÓÐÁ÷ÐеÄÊý¾Ý¿âÒÔ¼°²Ù×÷ϵͳ¡£
PHP ÌØÐÔ°üÀ¨
£º
¡ï
¿ª·ÅµÄÔ´´úÂ룺ËùÓеÄPHPÔ´´úÂëÊÂʵÉ϶¼¿ÉÒԵõ½¡£
¡ï
PHPÊÇÃâ·ÑµÄ¡£
¡ï
phpµÄ±ã½ÝÐÔ : phpÊ®·Ö±ã½Ý£¬Ñ§Ï°¼òµ¥¡£
¡ï
»ùÓÚ·þÎñÆ÷¶Ë£ºÓÉÓÚPHPÊÇÔËÐÐÔÚ·þÎñÆ÷¶ËµÄ½Å±¾£¬¿ÉÒÔÔËÐÐÔÚUNIX¡¢LINUX¡¢WINDOWSÏ¡£
¡ï
ǶÈëHTML£ºÒòΪPHP¿ÉÒÔǶÈëHTMLÓïÑÔ£¬ËùÒÔѧϰÆðÀ´²¢²»À§ÄÑ¡£
¡ï
¼òµ¥µÄÓïÑÔ£ºPHP¼á³Ö½Å±¾ÓïÑÔΪÖ÷£¬ÓëJavaºÍC++²»Í¬¡£
¡ï
ЧÂʸߣºPHPÏûºÄÏ൱ÉÙµÄϵͳ×ÊÔ´¡£
¡ï
ͼÏñ´¦Àí£ºÓÃPHP¶¯Ì¬´´½¨Í¼Ïñ¡£
¡ï
ÃæÏò¶ÔÏñ£ºÔÚphp4,php5 ÖУ¬ÃæÏò¶ÔÏó·½Ã涼ÓÐÁ˺ܴóµÄ¸Ä½ø£¬ÏÖÔÚphpÍêÈ«¿ÉÒÔÓÃÀ´¿ª·¢´óÐÍÉÌÒµ³ÌÐò¡£
¡ï
PHP Ïà¶ÔÓÚÆäËûÓïÑÔ£¬±à¼¼òµ¥£¬ÊµÓÃÐÔÇ¿£¬¸üÊʺϳõѧÕß¡£
PHP ÏÂÔØÁ´½ÓURL£º
http://www.php.net/downloads.php
×îÐÂÏÂÔذ汾Ϊ£ºphp-5.2.12-win32-installer.msi
»ñÈ¡µ½°²×°°üºó£¬Ë«»÷Ö±½Ó½øÐа²×°½çÃæ¡£°²×°¹ý³ÌÖУ¬»áÈÃÄãÑ¡Ôñ Web ·þÎñÆ÷£¬ÎÒ°²×°ÊÇApache 2.2.13·þÎñÆ÷£¬Ñ¡ÔñʱÄãÖ»ÐèÑ¡ÔñApache 2.2.x Module¶ÔÓ¦°æ±¾µÄWeb·þÎñ¼´¿É£¬È·ÈÏÄãµÄ·þÎñ·¾¶ºó£¬php»á×Ô¶¯½«ÅäÖÃÎļþ½øÐÐÐ޸ġ£
ÈçÄãÏëÊÖ¶¯ÐÞ¸ÄÅäÖã¬Çë¿´ÈçÏÂÐÞ¸ÄÄÚÈÝ£º
µ½ Apache °²×°Â·¾¶Ï Apache2.2.13\conf Ŀ¼£¬´ò¿ª httpd.conf
½øÐб༣¬ÔÚ×îºóÃæÌí¼ÓphpÏàӦģ¿é£¬ÈçÏ´úÂ룺
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "D:/ProgramFiles/PHP/"
LoadModule php5_module "D:/ProgramFiles/PHP/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
±à¼ºÃ±£´æ´ËÎļþ¡£
È»ºóÔÚͬÉÏĿ¼ÖУ¬´ò¿ª mime.types
Îļþ½øÐб༣¬Ò²ÔÚÎļþ×îºóÃæ×öÈçÏÂÐ޸ģº
application/x-httpd-php &
Ïà¹ØÎĵµ£º
²âÊÔ£ºhttp://www.yincode.com
Óû§£ºtest1 test2 test3
ÃÜÂ룺123456
=======================================
2010/01/12/18:54:24
=======================================
¹È¸èä¯ÀÀÆ÷ä¯ÀÀ²»Õý³£
main.js
function getData(u,m,callBack){
var ru=u+"&r="+Math.random();
$(" ......
±àÒë°²×°php5.2.0ʱ³ö´í½â¾ö·½°¸
1.´íÎóÐÅÏ¢...................ÈçÏÂ
checking for mcrypt support... no
checking for mhash support... no
checking whether to include mime_magic support... no
checking for MING support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS ......
µ±ÎÒÃÇÓÃWINDOWSËÑË÷ij°üº¬Ä³ÎÄ×ÖµÄÎļþʱ£¬¿ÉÒÔÔÚ“°üº¬ÎÄ×Ö”´¦ÌîÉÏËÑË÷´Ê¡£µ«ÊÇһЩ²»³£¼ûµÄºó׺ÃûÎļþWINDOWS²»»áËÑË÷£¬È磺£¬.log¡¢.dll¡¢.js¡¢.asp¡¢.xml¡¢.xsl¡¢.hta¡¢.css¡¢.wsh¡¢.cpp¡¢.c »ò .hµÈ¼°ÎÞºó׺ÃûµÄÎļþ¡£¶ÔÓÚÎҵȳÌÐò°®ºÃÕßÀ´ËµÊµÔÚÌ«²»·½±ãÁË£¬ËäÈ»ÓГÎı¾Ìæ»»´óʦ”µÈÈí¼þÄÜ×öÕ ......
ÎĵµÊÇÕâô˵µÄ£º
PHP µÄÒýÓÃÔÊÐíÓÃÁ½¸ö±äÁ¿À´Ö¸Ïòͬһ¸öÄÚÈÝ¡£Òâ˼ÊÇ£¬µ±ÕâÑù×öʱ£º
<?php
$a
=&
$b
;
?>
ÕâÒâζ×Å $a
ºÍ $b
Ö¸ÏòÁËͬһ¸ö±äÁ¿¡£
×¢: $a
ºÍ $b
ÔÚÕâÀïÊÇÍêÈ«ÏàͬµÄ£¬Õâ²¢²»ÊÇ $a
Ö¸ÏòÁË $b
»òÕßÏà·´£¬¶øÊÇ $a
ºÍ $b
Ö¸ÏòÁËͬһ¸öµØ·½¡£
ËùÒÔ£º
<?ph ......