phpÀ©Õ¹°²×°soapÄ£¿é
Ê×ÏÈ°²×°Íêphp
ºó×îºÃ±£Áôµ±Ê±°²×°µÄÎļþ£¬±ÈÈçÎҵķ¾¶/export1/soft
#cd php-5.2.8/ext/soap
#/usr/local/php/bin/phpize
#./configure --with-php-config=/usr/local/php/bin/php-config
--enable-soap
#make
#make install
±àÒëºóµÄsoap.so
Îļþ±£´æÔÚÁË/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613
Ŀ¼ÏÂ
ÐÞ¸Äphp.ini
Îļþ
¡¡¡¡ÊÖ¹¤Ð޸ģº²éÕÒ/usr/local/php/etc/php.ini
ÖеÄextension_dir = "./"
¡¡¡¡ÐÞ¸ÄΪextension_dir = "/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613"
¡¡¡¡²¢ÔÚ´ËÐкóÔö¼ÓÈçÏ£¬È»ºó±£´æ£º
¡¡¡¡extension = "soap.so"
ÖØÐÂÆô¶¯apache
£¬ok
ÎÒÃǾÍÒѾÄÜ¿´µ½À©Õ¹µÄsoap
Ä£¿éÁË¡£
Èç¹û»¹ÒªÀ©Õ¹±ðµÄÄ£¿é¿ÉÒÔÒ»´ÎÀàÍÆ£¬ÕâÀﻹÓеãҪ˵Ã÷£¬Èç¹û×öÁËzend
£¬php.ini
ÎļþÊÇÔÚ/usr/local/php/etc
ϵģ¬µ«ÊÇÎÒÃÇÕâ±ßÖØбàÒëºó£¬Ëü»Ø·Åµ½/usr/local/php/lib
Ï¡£ËùÒÔÕâÀïҪעÒâһϡ£
Ïà¹ØÎĵµ£º
PHP³Á˼¼
¡¡¡¡¹¤×÷Ä£ÐÍ
¡¡¡¡PHPµÄ¹¤×÷Ä£Ðͷdz£ÌØÊâ¡£´ÓijÖ̶ֳÈÉÏ˵£¬PHPºÍASP¡¢ASP.NET¡¢JSP/ServletµÈÁ÷ÐеÄWeb¼¼Êõ£¬ÓÐ×ű¾ÖÊÉϵÄÇø±ð¡£
¡¡¡¡ÒÔJavaΪÀý£¬JavaÔÚWebÓ¦ÓÃÁìÓò£¬ÓÐÁ½ÖÖ¼¼Êõ£ºJava ServletºÍJSP£¨Java Server Page£©¡£Java ServletÊÇÒ»ÖÖÌØÊâÀàÐ͵ÄJava³ÌÐò£¬Ëüͨ¹ýʵÏÖÏà¹Ø½Ó¿Ú£¬´¦ÀíWeb·þÎñÆ÷·¢Ë͹ ......
ÕûÁË°ëÌì¿ÉËãÈÃÎÒÕû³öÀ´ÁË º¹°¡£¡
C:\xampp\apache\conf\http.conf ÅäÖÃ
<Directory />
Options FollowSymLinks
AllowOverride all
Order deny,allow
# Deny from all
</Directory>
н¨ÏîÄ¿myphp
ÐéÄâ»ú·¾¶ localhost ......
ÒÔǰдÁËÊ®Ììѧ»áASP£¬Ê®Ììѧ»áASP.NETʲôµÄ£¬ÏÖÔÚÏëÏëÔÙд¸öPHP°É£¬Ò²Ëã±È½ÏÈ«ÁË¡£ PHPµÄµ÷ÊÔ·½·¨ÎÒÕâÀï¾Í²»ËµÁË£¬ÍâÃæºÜ¶àÎÄÕ¶¼ÓнéÉÜ£¬Ò²Óкܶ಻ͬµÄ×éºÏ¡£ÎÒÕâÀïÔÝʱÊÇÒÔ Apache web server ºÍ MY SQL ×÷ΪWEB·þÎñÆ÷ºÍÊý¾Ý¿â£¬ÔÚphp-4.3.3ϵĻ·¾³×öµÄ³ÌÐò¡£µ±È»Òª¼òµ¥µÄ¹¹½¨ºÍ·ÃÎʲ鿴Êý¾Ý¿â PHPMYADMIN ²»¿ÉÉÙ¡£
......
ѧϰĿµÄ£ºÕÆÎÕphpµÄÁ÷³Ì¿ØÖÆ
¡¡¡¡1¡¢if..else Ñ»·ÓÐÈýÖֽṹ
¡¡¡¡µÚÒ»ÖÖÊÇÖ»ÓÐÓõ½ if Ìõ¼þ£¬µ±×÷µ¥´¿µÄÅжϡ£½âÊÍ³É "Èô·¢ÉúÁËijÊÂÔòÔõÑù´¦Àí"¡£Óï·¨ÈçÏ£º
¡¡¡¡if (expr) { statement }
¡¡¡¡ÆäÖÐµÄ expr ΪÅжϵÄÌõ¼þ£¬Í¨³£¶¼ÊÇÓÃÂß¼ÔËËã·ûºÅµ±ÅжϵÄÌõ¼þ¡£¶ø statement Ϊ·ûºÏÌõ¼þµÄÖ´Ðв¿·Ö³ÌÐò£¬Èô³ÌÐòÖ»ÓÐÒ»ÐÐ ......
ѧϰĿµÄ£ºÑ§»áSESSIONµÄʹÓÃ
¡¡¡¡SESSIONµÄ×÷Óúܶ࣬×î¶àÓõľÍÊÇÕ¾µãÄÚÒ³Ãæ¼ä±äÁ¿´«µÝ¡£ÔÚÒ³Ã濪ʼÎÒÃÇÒªsession_start();¿ªÆôSESSION£»
¡¡¡¡
¡¡¡¡È»ºó¾Í¿ÉÒÔʹÓÃSESSION±äÁ¿ÁË£¬±ÈÈç˵Ҫ¸³Öµ¾ÍÊÇ£º$_SESSION['item']="item1";ÒªµÃµ½Öµ¾ÍÊÇ$item1=$_SESSION['item'];£¬ºÜ¼òµ¥°É¡£ÕâÀïÎÒÃÇ¿ÉÄÜ»áʹÓõ½Ò»Ð©º¯Êý£¬±ÈÈçË ......