asp¡¢php¡¢asp.net¡¢jsp½éÉܼ°ÓÅȱµã±È½Ï
ÏÖÔÚÖ÷Á÷µÄÍøÕ¾¿ª·¢ÓïÑÔÎÞÍâºõasp¡¢php¡¢asp.net¡¢jspµÈ¡£
ÍøÒ³´Ó¿ªÊ¼¼òµ¥µÄhmtlµ½¸´ÔӵķþÎñÓïÑÔ£¬×ß¹ýÁË10¶à¸öÄêÍ·£¬¸÷ÖÖ¼¼Êõ²ã³ö²»Çµ¥¸öµÄÖ÷Á÷¼¼ÊõÒ²ÔÚ²»¶Ï·Ðµİ汾£¬ÏÖÔÚ·ÖÎöϸ÷ÖÖÓïÑÔµÄÇø±ð¡¢ÓÅÊÆ¡¢ÁÓÊÆ¡¢¿ª·¢×¢ÒâÊÂÏ
HTML:µ±È»ÕâÊÇÍøÒ³×î»ù±¾µÄÓïÑÔ,ÿһ¸ö·þÎñÆ÷ÓïÑÔ¶¼ÐèÒªËüµÄÖ§³Ö,Ҫѧϰ,Õâ¸ö¿Ï¶¨ÊÇ¿ªÊ¼,²»ËµÁË.
Ö÷Á÷ÍøÕ¾¿ª·¢ÓïÑÔÖ®ASP:ASPÊÇ΢Èí£¨Microsoft£©Ëù¿ª·¢µÄÒ»ÖÖºǫ́½Å±¾ÓïÑÔ£¬ËüµÄÓï·¨ºÍVisual BASICÀàËÆ£¬¿ÉÒÔÏñSSI£¨Server Side Include£©ÄÇÑù°Ñºǫ́½Å±¾´úÂëÄÚǶµ½HTMLÒ³ÃæÖС£ËäÈ»ASP¼òµ¥Ò×Ó㬵«ÊÇËü×ÔÉí´æÔÚ×ÅÐí¶àȱÏÝ£¬×îÖØÒªµÄ¾ÍÊÇ°²È«ÐÔÎÊÌ⡣ĿǰÔÚ΢ÈíµÄ .net Õ½ÂÔÖÐÐÂÍƳöµÄASP.net ½è¼øÁËJava¼¼ÊõµÄÓŵ㣬ʹÓÃC Sharp (C#) ÓïÑÔ×÷ΪASP.netµÄÍƼöÓïÑÔ£¬Í¬Ê±¸Ä½øÁËÒÔÇ°ASPµÄ°²È«ÐÔ²îµÈȱµã¡£µ«ÊÇ£¬Ê¹ÓÃASP/ASP.netÈÔÓÐÒ»¶¨µÄ¾ÖÏÞÐÔ£¬ÒòΪ´ÓijÖֽǶÈÀ´ËµËüÃÇÖ»ÄÜÔÚ΢ÈíµÄ Windows NT/2000/XP + IISµÄ·þÎñÆ÷ƽ̨ÉÏÁ¼ºÃÔËÐУ¨ËäÈ»ÏñChilliSoftÌṩÁËÔÚUNIX/LinuxÉÏÔËÐÐASPµÄ½â¾ö·½°¸£¬µ«ÊÇÄ¿Ç°ASPÔÚUNIX/LinuxÉϵÄÓ¦ÓÿÉÒÔ˵¼¸ºõΪ0£©¡£ËùÒÔƽ̨µÄ¾ÖÏÞÐÔºÍASP×ÔÉíµÄ°²È«ÐÔÏÞÖÆÁËASPµÄ¹ã·ºÓ¦Óá£
ASPÔÚÖ´ÐеÄʱºò£¬ÊÇÓÉIISµ÷ÓóÌÐòÒýÇ棬½âÊÍÖ´ÐÐǶÔÚHTMLÖеÄASP´úÂ룬×îÖÕ½«½á¹ûºÍÔÀ´µÄHTMLһͬËÍÍù¿Í»§¶Ë¡£
Ö÷Á÷ÍøÕ¾¿ª·¢ÓïÑÔÖ®PHP:PHP µÄÈ«Ãû·Ç³£ÓÐȤ£¬ËüÊÇÒ»¸ö³²×´µÄËõдÃû³Æ——“PHP: Hypertext Preprocessor”£¬´ò¿ªËõд»¹ÊÇËõд¡£PHPÊÇÒ»ÖÖHTML ÄÚǶʽµÄÓïÑÔ (¾ÍÏñÉÏÃæ½²µÄASPÄÇÑù)¡£¶ø PHP ¶ÀÌصÄÓï·¨»ìºÏÁËC£¬Java£¬PerlÒÔ¼° PHP ʽµÄÐÂÓï·¨¡£Ëü¿ÉÒÔ±È CGI »òÕß Perl ¸ü¿ìËÙµØÖ´Ðж¯Ì¬ÍøÒ³¡£
PHPµÄÔ´´úÂëÍêÈ«¹«¿ª£¬ÔÚ Open Source Òâʶ̧ͷµÄ½ñÌ죬Ëü¸üÊÇÕâ·½ÃæµÄÖÐÁ÷íÆÖù¡£²»¶ÏµØÓÐеĺ¯Êý¿â¼ÓÈ룬ÒÔ¼°²»Í£µØ¸üУ¬Ê¹µÃ PHP ÎÞÂÛÔÚ UNIX »òÊÇ Win32 µÄƽ̨É϶¼¿ÉÒÔÓиü¶àÐµĹ¦ÄÜ¡£ËüÌṩ·á¸»µÄº¯Êý£¬Ê¹µÃÔÚ³ÌʽÉè¼Æ·½ÃæÓÐןüºÃµÄ×ÊÔ´¡£Ä¿Ç°PHPµÄ×îа汾Ϊ4.1.1 £¬Ëü¿ÉÒÔÔÚWin32ÒÔ¼°UNIX/LinuxµÈ¼¸ºõËùÓеÄƽ̨ÉÏÁ¼ºÃ¹¤×÷¡£PHPÔÚ4.0°æºóʹÓÃÁËȫеÄZendÒýÇ棬ÆäÔÚ×î¼Ñ»¯Ö®ºóµÄЧÂÊ£¬±È½Ï´«Í³ CGI »òÕß ASP µÈ¼¼ÊõÓÐÁ˸üºÃµÄ±íÏÖ¡£
ƽ̨ÎÞ¹ØÐÔÊÇPHPµÄ×î´óÓŵ㣬µ«ÊÇÔÚÓŵãµÄ±³ºó£¬»¹ÊÇÓÐһЩССµÄȱµãµÄ¡£Èç¹ûÔÚPHPÖв»Ê¹ÓÃODBC£¬¶øÓÃÆä×Ô´øµÄÊý¾Ý¿âº¯Êý£¨ÕâÑùµÄЧÂÊÒª±ÈʹÓÃODBC¸ß£©À´Á¬½ÓÊý¾Ý¿âµÄ»°£¬ ʹÓò»Í¬µÄÊý¾Ý¿â£¬PHPµÄº¯ÊýÃû²»ÄÜͳһ¡£ÕâÑù£¬Ê¹µÃ³ÌÐòµÄÒÆÖ
Ïà¹ØÎĵµ£º
php½Ì³Ì:·ÃÎÊPHPÀàÖгÉÔ±±äÁ¿»ò·½·¨
ÔÚ·ÃÎÊPHPÀàÖеijÉÔ±±äÁ¿»ò·½·¨Ê±£¬Èç¹û±»ÒýÓõıäÁ¿»òÕß·½·¨±»ÉùÃ÷³Éconst»òÕßstatic,ÄÇô¾Í±ØÐëʹÓòÙ×÷·û::,
·´Ö®Èç¹û±»ÒýÓõıäÁ¿»òÕß·½·¨Ã»Óб»ÉùÃ÷³Éconst»òÕßstatic,ÄÇô¾Í±ØÐëʹÓòÙ×÷·û->¡£
ÁíÍ⣬Èç¹û´ÓÀàµÄÄÚ²¿·ÃÎÊconst»òÕßstatic±äÁ¿»òÕß·½·¨,ÄÇô¾Í±ØÐëʹÓÃ×ÔÒýÓõ ......
PHP¶àÓû§ÔÚÏß¿Í·þϵͳ£¬ºǫ́ÓдúÂëÏâǶµ½ÄãµÄϵͳÖУ¬²»¹ýÕâ¸öÊÇÓ¢Îĵģ¬¸Ð¾õºÜʵÓ㬼ò½à£¬·½±ã£¬ÐèÒªµÄ¿ÉÒÔ×Ô¼ººº»¯£¬²»¾ÍÊǸÄÀïÃæµÄһЩÌáʾÐÅÏ¢ÂµØÖ·ÊÇ£ºhttp://mibew.org/
£¬Õâ¸öÊÇ¿ªÔ´µÄ£¬Ö§³Ö¶àÓû§Í¬Ê±ÔÚÏßÁªÏµ¿Í·þ£¬¿Í·þºǫ́¼°Ê±ÐÔºÜÇ¿£¬Ö»ÒªÓû§µã»÷ÔÚÏß¿Í·þ£¬ºǫ́¾ÍÓÐÌáʾ£¬¶øÇÒ¿ÉÒԲ鿴ÁÄÌì¼Ç¼£¬ºÜ¶àʵÓà ......
ÓеÄÒ³ÃæÐèҪÿ´Îµã»÷½øÈ¥¶¼¶¯Ì¬¸üУ¬¶ø²»ÊǶÁÈ¡»º´æÖеÄÒ³Ãæ¡£
ÔÚJSPÖпÉÒÔÕâÑùʵÏÖ£º
<%
request.setCharacterEncoding("GBK");
response.addDateHeader("Expires",0);
response.setHeader("Pragma","no-cache");
response.setHeader("Cache-Control","no-cache");
%> ......
ÓõÄÊÇMySqlÊý¾Ý¿â£¬ÀïÃæÓÐÊý¾Ý¿âµÄ½Å²½£¬ÔËÐÐbbs.sqlÎļþ¾Í¿ÉÒÔÁË¡£
ÓõÄMVCģʽ£¬ÓÃjsp ×öÏÔʾҳÃ棬ÓÃservlet×ö¿ØÖƲ㣬ÓÃJavaBean×öÄ£ÐͲã
ÏÂÔصØÖ·£º
http://www.800disk.com/ContentPane.aspx?down=ok&filepath=lcbjava%2fMybbs.rar
°ÑÉÏÃæµÄµØÖ·¸´ÖƵ½ä¯ÀÀÆ÷¾Í¿ÉÒÔÏÂÔØ ......
˵ÔÚÇ°ÃæµÄ»°£º
Òª·ÀÊý¾Ý¿âľÂí£¬Æäʵ×î¼òµ¥²»¹ý£¬±¾ÈËÈÏΪ£¬ÍøÉÏËùνµÄ×¢Èë·½·¨£¬¶¼ÊÇЩС¶ù¿Æ¡£Ö»ÒªÄã²»ÈÃÊý¾Ý¿âÔËÐУ¬Ëü×¢ÈëÁËASPľÂíÓкÎÓã¿£¡Ö»ÒªÄãÊä³öʱÓÐÑϸñµÄ¹ýÂË£¬Ëü×¢ÈëÁËJS´úÂëÓкÎÓã¿£¡
¾ßÌå·½·¨ÈçÏ£º
Ò»¡¢°ÑÊý¾Ý¿â¸ÄΪASP¸ñʽ£¬²¢¼ÓÈëÒ»¸ö±í£¬ÀïÃ潨¸ö×ֶΣ¬¼ÓÈëһЩIISϵͳ¼¶µÄ´íÎó´úÂë»òOleÊý¾Ý£¬¼´ ......