Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

PHPÃæÊÔ 2

»ù´¡Ìâ:
1.±íµ¥ÖÐ getÓëpostÌá½»·½·¨µÄÇø±ð?
´ð:getÊÇ·¢ËÍÇëÇóHTTPЭÒéͨ¹ýurl²ÎÊý´«µÝ½øÐнÓÊÕ,¶øpostÊÇʵÌåÊý¾Ý,¿ÉÒÔͨ¹ý±íµ¥Ìá½»´óÁ¿ÐÅÏ¢.
2.sessionÓëcookieµÄÇø±ð?
´ð:session:´¢´æÓû§·ÃÎʵÄÈ«¾ÖΨһ±äÁ¿,´æ´¢ÔÚ·þÎñÆ÷ÉϵÄphpÖ¸¶¨µÄĿ¼Öеģ¨session_dir£©µÄλÖýøÐеĴæ·Å
   cookie:ÓÃÀ´´æ´¢Á¬Ðø訪問Ò»¸ö頁ÃæʱËùʹÓã¬ÊÇ´æ´¢ÔÚ¿Í»§¶Ë£¬¶ÔÓÚCookieÀ´ËµÊÇ´æ´¢ÔÚÓû§WINµÄTempĿ¼Öеġ£
   Á½Õ߶¼¿Éͨ¹ýʱ¼äÀ´ÉèÖÃʱ¼ä³¤¶Ì
3.Êý¾Ý¿âÖеÄÊÂÎñÊÇʲô?
´ð:ÊÂÎñ£¨transaction£©ÊÇ×÷Ϊһ¸öµ¥ÔªµÄÒ»×éÓÐÐòµÄÊý¾Ý¿â²Ù×÷¡£Èç¹û×éÖеÄËùÓвÙ×÷¶¼³É¹¦£¬ÔòÈÏΪÊÂÎñ³É¹¦£¬¼´Ê¹Ö»ÓÐÒ»¸ö²Ù×÷ʧ°Ü£¬ÊÂÎñÒ²²»³É¹¦¡£Èç¹ûËùÓвÙ×÷Íê³É£¬
ÊÂÎñÔòÌá½»£¬ÆäÐ޸Ľ«×÷ÓÃÓÚËùÓÐÆäËûÊý¾Ý¿â½ø³Ì¡£Èç¹ûÒ»¸ö²Ù×÷ʧ°Ü£¬ÔòÊÂÎñ½«»Ø¹ö£¬¸ÃÊÂÎñËùÓвÙ×÷µÄÓ°Ï춼½«È¡Ïû¡£
¼òÊöÌâ:
1¡¢ÓÃPHP´òÓ¡³öÇ°Ò»ÌìµÄʱ¼ä¸ñʽÊÇ2006-5-10 22:21:21(2·Ö)
´ð:echo date('Y-m-d H:i:s', strtotime('-1 days'));
2¡¢echo(),print(),print_r()µÄÇø±ð(3·Ö)
´ð:echoÊÇPHPÓï¾ä, printºÍprint_rÊǺ¯Êý,Óï¾äûÓзµ»ØÖµ,º¯Êý¿ÉÒÔÓзµ»ØÖµ(¼´±ãûÓÐÓÃ) 
   print£¨£©    Ö»ÄÜ´òÓ¡³ö¼òµ¥ÀàÐͱäÁ¿µÄÖµ(Èçint,string) 
   print_r£¨£© ¿ÉÒÔ´òÓ¡³ö¸´ÔÓÀàÐͱäÁ¿µÄÖµ(ÈçÊý×é,¶ÔÏó) 
   echo     Êä³öÒ»¸ö»òÕ߶à¸ö×Ö·û´®
3¡¢Äܹ»Ê¹HTMLºÍPHP·ÖÀ뿪ʹÓõÄÄ£°å(1·Ö)
´ð:Smarty,Dwoo,TinyButStrong,Template Lite,Savant,phemplate,XTemplate
5¡¢Ê¹ÓÃÄÄЩ¹¤¾ß½øÐа汾¿ØÖÆ?(1·Ö)
´ð:cvs,svn,vss;
6¡¢ÈçºÎʵÏÖ×Ö·û´®·­×ª?(3·Ö)
´ð:echo strrev($a);
7¡¢ÓÅ»¯MYSQLÊý¾Ý¿âµÄ·½·¨¡£(4·Ö£¬¶àд¶àµÃ)
´ð:
1¡¢Ñ¡È¡×îÊÊÓõÄ×Ö¶ÎÊôÐÔ,¾¡¿ÉÄܼõÉÙ¶¨Òå×ֶ㤶È,¾¡Á¿°Ñ×Ö¶ÎÉèÖÃNOT NULL,ÀýÈç'Ê¡·Ý,ÐÔ±ð',×îºÃÉèÖÃΪENUM
2¡¢Ê¹ÓÃÁ¬½Ó£¨JOIN£©À´´úÌæ×Ó²éѯ:
   a.ɾ³ýûÓÐÈκζ©µ¥¿Í»§:DELETE from customerinfo WHERE customerid NOT in(SELECT customerid from orderinfo)
   b.ÌáÈ¡ËùÓÐûÓж©µ¥¿Í»§:SELECT from customerinfo WHERE customerid NOT in(SELECT customerid from orderinfo)
   c.Ìá¸ßbµÄËÙ¶ÈÓÅ»¯:SELECT from customerinfo LEFT JOIN orderid customerinfo.customerid=orderinfo.customerid
   WHERE orde


Ïà¹ØÎĵµ£º

PHP dataº¯ÊýµÄ³£ÓòÎÊý

a - СдµÄam»òpm
A - ´óдµÄAM»òPM
d - ÈÕ£¬Á½Î»Êý×Ö£¬²»×ãÁ½Î»ÔòÇ°µ¼×Ô¶¯²¹Áã
D - ±íʾÐÇÆÚµÄÓ¢ÎĵÄÇ°Èý¸öÓ¢ÎÄ×Öĸ
F - Ô·ݵÄÓ¢ÎÄÈ«Ãû
h - 12СʱÖÆ£¬Á½Î»Êý×Ö£¬²»×ãÁ½Î»ÔòÇ°µ¼×Ô¶¯²¹Áã
H - 24СʱÖÆ£¬Á½Î»Êý×Ö£¬²»×ãÁ½Î»ÔòÇ°µ¼×Ô¶¯²¹Áã
g - 12СʱÖÆ£¬²»×ãÁ½Î»µÄСʱ²»²¹Áã
G - 24СʱÖÆ£¬²»×ãÁ½Î»µÄСʱ²»²¹Áã ......

asp¡¢php¡¢asp.net¡¢jsp½éÉܼ°ÓÅȱµã±È½Ï


ÏÖÔÚÖ÷Á÷µÄÍøÕ¾¿ª·¢ÓïÑÔÎÞÍâºõasp¡¢php¡¢asp.net¡¢jspµÈ¡£
ÍøÒ³´Ó¿ªÊ¼¼òµ¥µÄhmtlµ½¸´ÔӵķþÎñÓïÑÔ£¬×ß¹ýÁË10¶à¸öÄêÍ·£¬¸÷ÖÖ¼¼Êõ²ã³ö²»Çµ¥¸öµÄÖ÷Á÷¼¼ÊõÒ²ÔÚ²»¶Ï·­Ðµİ汾£¬ÏÖÔÚ·ÖÎöϸ÷ÖÖÓïÑÔµÄÇø±ð¡¢ÓÅÊÆ¡¢ÁÓÊÆ¡¢¿ª·¢×¢ÒâÊÂÏ
HTML:µ±È»ÕâÊÇÍøÒ³×î»ù±¾µÄÓïÑÔ,ÿһ¸ö·þÎñÆ÷ÓïÑÔ¶¼ÐèÒªËüµÄÖ§³Ö,Ҫѧϰ,Õâ¸ö¿Ï¶¨ÊÇ¿ª ......

phpÖÐÈçºÎ¹Ø±Õnotice¼¶µÄ´íÎóÌáʾ

phpÖÐÈçºÎ¹Ø±Õnotice¼¶µÄ´íÎóÌáʾ
2008-09-04 15:39
1.ÔÚphp.iniÎļþÖиĶ¯error_reporting
   ¸ÄΪ£º   
   error_reporting    =    E_ALL    &    ~E_NOTICE
Èç¹ûÄã²»ÄܲÙ×÷php.iniÎļþ£¬Äã¿ÉÒÔÓÃÏÂÃæµÄ·½·¨ ......

PHPµÄMVCʵÏÖ

¸ÕѧPHPµÄMVC,ÍøÉÏÕÒÀ´µãÎÄÕÂѧϰ,·ÖÏíÏÂ
      ASP£¬JSP£¬PHPÊÇWEB¿ª·¢µÄÈý´ó¼¼Êõ£¬ÈýÖÖ¼¼ÊõÓÅȱµãÒ²Ôç¾ÍÓÐÈË·ÖÎö¹ýÁË¡£ÎÞ·ÇÒ²¾ÍÊÇASP¼òµ¥Ò×ÓÃÇÒÓÐmicrosoft×ö¿¿É½£¬JSP¹¦ÄÜÇ¿´óÊÇÒòΪÓÐjavaÖ§³Ö£¬PHPÔò¿ªÔ´¿çƽ̨¡£ÔÚ¹úÄÚ£¬ASPÓ¦Ó÷¶Î§×î¹ã£¬JSP·¢Õ¹ÊÆÍ·×îÃÍ£¬PHPÔò´¦ÓÚÁÓÊÆ¡£Õâ¿ÉÄÜÓë¹«Ë ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ