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µÄº¯ÊýÃû²»ÄÜͳһ¡£ÕâÑù£¬Ê¹µÃ³ÌÐòµÄÒÆÖ²±
Ïà¹ØÎĵµ£º
»ù±¾Ë¼Â·£ºÍ¨¹ýSOCKETÇëÇóÆäËûPHP½Å²½£¬ÊµÏÖPHPµÄ¶à½ø³ÌµÄÒì²½Ö´ÐС£
·Ï»°¾Í²»¶à˵ÁË£¬Çë¿´ÏÂÃæµÄ½Å²½²¢Ö´ÐÐÖ®¡£
<?php
//a.php
function runThread(){
$fp = fsockopen('127.0.0.1', 82, $errno, $errmsg);
fputs($fp, "GET /a.php?act=b\r\n"); //ÕâÀïµÄµÚ¶þ¸ö²ÎÊýÊÇHTTPÐÒéÖй涨µÄÇëÇóÍ·
//²»Ã÷°×µÄÇë¿´RFCÖ ......
½«ÒÔÏ´úÂë·Åµ½Ò»¸öµ¥¶ÀµÄÒ³Ãæcheckcode.asp
<%
Option Explicit
Response.buffer=true
Call Com_CreatValidCode("validateCode")
Sub Com_CreatValidCode(pSN)
' ½ûÖ¹»º´æ
Response.Expires = -9999
Response.AddHeader "Pragma","no-cache"
Response.AddHeader "cache-ctrol","no-cache"
Response.ContentTy ......
Á˽âʹÓà ASP.NET AJAX ½øÐоֲ¿Ò³Ãæ¸üÐÂ
¼ò½é
MicrosoftµÄ ASP.NET ¼¼ÊõÌṩÁËÒ»¸öÃæÏò¶ÔÏó¡¢Ê¼þÇý¶¯µÄ±à³ÌÄ£ÐÍ£¬²¢½«ÆäÓëÒѱàÒë´úÂëµÄÓÅÊƽáºÏÆðÀ´¡£µ«Æä·þÎñÆ÷¶ËµÄ´¦ÀíÄ£ÐÍÈÔ´æÔÚ¼¼Êõ±¾ÉíËù¹ÌÓеļ¸µã²»×㣺
½øÐÐÒ³Ãæ¸üÐÂÐèÒªÍù·µ·þÎñÆ÷£¬Òò´ËÐèÒªÒ³ÃæˢУ»
À´»ØÍù·µ²»»á±£Áô Javascript »òÆäËû¿Í»§¶Ë¼¼Êõ£¨Èç Ad ......
http://www.builder.com.cn/2007/1027/583048.shtml
ÔÚphp3.0ÒÔÉÏ°æ±¾ÖУ¬phpÄÚÖÃÁ˼¸ºõÄ¿Ç°ËùÓеÄÊý¾Ý¿â´¦Àíº¯Êý£¬°üÀ¨Oracle;ÔÚ±¾ÎÄÖÐÎÒÃÇͨ¹ýÒ»¸öʵÀýÀ´½éÉÜÁËÈçºÎʹÓÃÕâЩº¯ÊýÀ´²Ù×÷OracleÊý¾Ý¿â¡£
PHPÌṩÁË2´óÀàAPI(Ó¦ÓóÌÐò½Ó¿Ú)À´²Ù×÷OracleÊý¾Ý¿â¡£Ò»¸öÊDZê×¼µÄOracle´¦Àíº¯Êý(ORA) ÁíÒ»¸öÊÇOracle 8µ÷Óýӿں¯ ......
1. ÈçºÎÓÃphpµÄ»·¾³±äÁ¿µÃµ½Ò»¸öÍøÒ³µØÖ·µÄÄÚÈÝ£¿ipµØÖ·ÓÖÒªÔõÑùµÃµ½£¿
[php]
echo $_SERVER ['PHP_SELF'];
echo $_SERVER ['SERVER_ADDR'];
[/php]
2. ÇóÁ½¸öÈÕÆڵIJîÊý£¬ÀýÈç2007-2-5 ~ 2007-3-6 µÄÈÕÆÚ²îÊý
[php]
$begin=strtotime('2007-2-5');
$end=strtotime('2007-3-6');
echo ($end-$begin)/(24*3600);
[ ......