â HTTPã£ã¦ããªã«ï¼â Hypertext Transport Protocol (HTTP)ã¯ãã¦ã§ãã»ãµã¼ãã¼ã¨ã¯ã©ã¤ã¢ã³ãï¼Internet Explorer ã Netscape ãªã©ã®ã¦ã§ãã»ãã©ã¦ã¶ï¼ããç¸äºã§éä¿¡ãè¡ãçºã«å©ç¨ããããããã³ã«ã§ããHTMLææ¸ã¯ãã¡ãããææ¸ã«é¢é£ä»ãããã¦ãããã®ä»ã®ãã¡ã¤ã«ï¼ç»åãé³å£°çï¼ãã表ç¾å½¢å¼ãªã©ã®æ å ±ãå«ãã¦ããã¨ãåºæ¥ã¾ãã ä¾ãã°ãã¤ã³ã¿ã¼ãããã®ã¦ã¼ã¶ã¼ãç¹å®ã®HTMLãã¼ã¸ãå覧ããããã¨ãã©ã¦ã¶ã§ã¢ãã¬ã¹ï¼URL=Universal Resource Locator ã¨å¼ã°ãã¾ãï¼ãå¼ã³åºãã¨ãã¾ãããããã®ã¡ãã»ã¼ã¸ã¯HTTPã®ãã©ã¼ãããã«ã¨ã³ã³ã¼ããããã¦ã§ãã»ãµã¼ãã¼ã«éããã¾ãããµã¼ãã¼ã¯ãã®HTTPã§æå®ï¼ãªã¯ã¨ã¹ãï¼ãããç¹å®ã®ãã¡ã¤ã«ããããã«HTTPã§ãã©ã¦ã¶ã«éãè¿ãï¼ã¬ã¹ãã³
Perlã使ã£ãCGIã®ä½æã«é¢ãããã¡ãã£ã¨ããTIPSããç´¹ä»ãã¦ãã¾ãã æ¢åCGIã®ã«ã¹ã¿ãã¤ãºãããCGIæ¹é ã»æ°ããCGIã®ä½æãªã©ã«ãå½¹ã«ç«ã¤ããç¥ãã¾ããã(^^;) ç§ãä»ã¾ã§ã«Perlã§CGIãä½æãã¦ããä¸ã§ããããã便å©ã ã¨æã£ãã½ã¼ã¹ã³ã¼ããªã©ãæ²è¼ãã¦ãã¾ãã ããã§ãç´¹ä»ããã½ã¼ã¹ããµã³ãã«CGIã¯ããã¹ã¦ä½¿ç¨ããªã¼ã§ãã®ã§ããèªç±ã«ãæ´»ç¨ä¸ããã ãã£ã¨è¯ããã¯ããã¯ãããã°ããã²æãã¦ä¸ããã(^^;) æ¥ä»é¢é£TIPS æ¥ä»ããææ¥ãå²ãåºã 2004/02/18.Wed. ã¿ã¤ã ã¾ã¼ã³ãæå®ãã¦æ¥ä»ã»æå»ãå¾ã 2004/03/04.Thu. é åé¢é£TIPS é åã®ä¸èº«ãã¹ã¦ã«å¯¾ãã¦ã«ã¼ãã§ä½ãå¦çããã 2004/02/19.Thu. é åã®ä¸èº«ãéé ã»æé ã«ã½ã¼ããã 2004/02/24.Tue. é åã®ä¸èº«ãã¯ãªã¢ããã«ã¯ï¼ 2004/02/
ã³ã³ãã¥ã¼ã¿ã«é¢ããã¡ã¢ã®ç¶ããããã°ã©ãã³ã°ç·¨ãã®1ãJavaScriptãCGI-PERLãåã°ã¯èªåã®ããã®ã¡ã¢ã§ã(Javaã¯ãã®2ã¸)ã JavaScriptã®åºæ¬ï¼æ´æ° 2004/1/12ãæåã¯2001/1/4ï¼ ç¹°ãè¿ããå¤æ°ãé åãifãé¢æ°ããªãã¸ã§ã¯ããªã©ããã°ã©ã è¨èªã®åºæ¬ãããé£ããä¾é¡ã§ãããã¹ãã»ããã¯ã¹ã¸ã®å ¥åºåãæ±ãã16é²æ°ãæåã³ã¼ããªã©ãè¦è¦çã«ãã©ã¤ã§ãããããªä¾é¡ãåºãã¾ããã¤ã³ã¿ã¼ãããã»ã¨ã¯ã¹ããã¼ã©ã§ã¨ã©ã¼ã¡ãã»ã¼ã¸ã表示ããæ¹æ³ã¨ã½ã¼ãã®ããã°ã©ã ã追å ãã¾ãããªãã¸ã§ã¯ããDOMãå«ããã¾ã¨ãã追å ã JavaScriptã®å¿ç¨ãã®ï¼ï¼æ´æ° 2004/1/14ãæåã¯2001/1/9ï¼ åçã®èª¬æãç»é¢ã«åºããæåã¹ã¯ãã¼ã«ã¨ããä¾ã§ãHTMLãã¹ã¿ã¤ã«ã·ã¼ããDOMãJavaScriptã«ãããã¤ãããã¯HTMLã®é¢é£ããã©ã¼ã ã®å ¥å
å½ãµã¤ãã¯ããã¼ã ãã¼ã¸ä¸ã«æ²ç¤ºæ¿ãããã£ãããã¢ã¯ã»ã¹ã«ã¦ã³ã¿ã¼ã®è¨ç½®ãå¯è½ã«ããCGIã¹ã¯ãªããã®ç´¹ä»ãã Perlã使ã£ã¦ãèªåã§CGIãä½æãããæä¼ãããããã¼ã¸ã§ãã ãã¦ã³ãã¼ããã¼ã¸ã§ã¯ã100æ¬ã«åã¶ããªã¼ã¦ã§ã¢ãå ¬éãã¦ãã¾ãããå©ç¨ãã ããã ãã¼ã ãã¼ã¸ã®ãªãã¥ã¼ã¢ã«ã«éãæ¸ç±å°ç¨ã®ã¹ã¯ãªããããã¹ã¦æ¾åºã å½ãµã¤ãã¯ãã§ããéããããããã解説ããããç»åãå¤ç¨ãã¦ãã¾ãã ãããã£ã¦ãããã¼ããã³ã以å¤ã®ã客æ§ã«ã¯å¤å°éããã¨æããã¾ãããäºæ¿ãã ããã ãã¦ã³ãã¼ããã¦ããã ãã¹ã¯ãªããã¯ãåºæ¬çã«ã¯LZHå½¢å¼ã§å§ç¸®ããã¦ãã¾ãã®ã§è§£åã½ãããå¥éå¿ è¦ã§ãã å§ç¸®ããã¦ãããã¡ã¤ã«ã¯ã解åãã¦ããã ãã ãã§æä½éåº¦å¿ è¦ãªãã¡ã¤ã«ã¯æã£ã¦ãã¾ãã ããã¹ãå½¢å¼ã§ãã¦ã³ãã¼ããã¦ããã ãã¹ã¯ãªããã®æ¡å¼µåã¯ã.prlãã«è¨å®ããã¦ãã¾ãã®ã§ã ãã©ã¦ã¶ã®ãååãä»
PCåãã¦ã§ããµã¤ãã®HTMLãç»åããiã¢ã¼ããªã©ã®æºå¸¯é»è©±ç«¯æ«ã§é²è¦§å¯è½ãªå½¢å¼ã«ããµã¼ããµã¤ãã§å¤æããPHPã¹ã¯ãªããã§ããç»åã®ç¸®å°ãå½¢å¼ã®å¤æãRSSã®å¤æãã¦ã§ããµã¤ãããã¼ã¸å ã®ç°¡ä¾¿ãªæ¤ç´¢ãRefereréä¿¡ãCookieä¿åã®æ¬ä¼¼çãªå®ç¾ã¨ãã£ãæ©è½ãæãã¾ãã ã¤ã³ã¹ãã¼ã« 1. ãã¦ã³ãã¼ããããªãªã¼ã¹ããã±ã¼ã¸ã«å«ã¾ãããåãã¡ã¤ã«ããµã¼ãã«ã¢ãããã¼ããã¾ãã 2. dataãã£ã¬ã¯ããªã®ãã¼ããã·ã§ã³ãã707ãªã©æ¸ãè¾¼ã¿å¯è½ãªãã®ã«å¤æ´ãã¦ãã ããã 3. pearpack.zipããã¦... ã¤ã³ã¹ãã¼ã«æ¹æ³ãè¦ã
ç¾å¨ãµã¤ãã®ä¼æ¢ä¸ã§ãã äºæ¥è ç»é²ã»èä½æ¨©é表示å©ç¨ã®ç»é²ããããæ¹ã¯ãã¡ã¼ã«ãããã ãã¾ãããããã°ã©ã ä¸è¦§ãã¼ã¸ã®URLããç¥ãããã¾ãã ãã ãé·ãéã¡ã³ããã³ã¹ã§ãã¦ãã¾ããã®ã§ãfreo.jp ã PHP Labo ãªã©ã®ããã°ã©ã ã¸ã®ç§»è¡ãæ¨å¥¨ãã¾ãã ã©ããã¦ãããã°ã©ã ã使ãç¶ããå¿ è¦ãããå ´åãã»ãã¥ãªãã£ã®åä¸ã«ã¤ãã¦ã®å¯¾çãè¡ã£ã¦ãã ããã åºå
ããã¾ã§ãæ¢åã®JavaScriptã©ã¤ãã©ãªã®æ§é ããã®ææ³ã解æãã¦ãã¾ãããããã§ã¯ãå®éã«ãªãªã¸ãã«ã®Webãµã¼ãã¹ã¨JavaScriptã©ã¤ãã©ãªãæ§ç¯ãã¦ã¿ã¾ããWebãµã¼ãã¹ã¨è¨ã£ã¦ãé«åº¦ãªæ©è½ã§ã¯ãªãããªã¹ã5ã«ç¤ºãPerlã§åã«ååæ¼ç®ãè¡ã£ã¦çµæãè¿ãã ãã®CGIã§ãã ãªã¹ã5ï¼calc.cgiãµã³ãã«CGIï¼Webãµã¼ãã¹å´ï¼ #!/usr/bin/perl -T use strict; use CGI; use JSON; # ã¯ã¨ãªå¤æ°qãåãåºã my $cgi = new CGI(); my $q = $cgi->param('q'); # è¨ç®å¦çãè¡ã my $out = {}; if ( $q =~ /^([\d\-\+\*\/\.\(\)\s]+)$/s ) { my $e = $1; local $@; $out->{result} = eval(
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}