ã¯ã·ã¯ãcgi.rb ãªãããæ¨æºæ·»ä»ã«ãªã£ã¦ãã Ruby ã« PHP ã dis ãè³æ ¼ã¯ãªãã¨æã£ã¦ã (cgi.rbã®å ãã¿ã§ãã CGI.pm ãæãã Perl ãåããããªãããª)ãcgi.rb ã¯ãæ¨æºæ·»ä»ã¢ã¸ã¥ã¼ã«ã®ããã«ã³ã¼ããæ±ããé ãããcgi[] ã®æ»ãå¤ã String ã ã£ãã File ã ã£ããããããã©ãèãã¦ãè¨è¨ãã¹ã ## Ruby ã 㨠cgi = CGI.new p cgi['name'] #=> ããã File ã§ããå¯è½æ§ããã ## PHP ã ã¨ãããªåé¡ã¯ãªã $name = $_REQUEST['name']; # å¿ ãæåå $file = $_FILE['name']; # ãã¡ã¤ã«ã¯å¥éåãåºãããã¦å¤§åã® Rubyist ã¯ãããã£ãåé¡ã«æ°ã¥ãã¦ããããªãããããã人ãã¡ã PHP ã dis ã£ã¦ãã®ã¯ããã¡?ãã¨æãã
{{#tags}}- {{label}}
{{/tags}}