如何把大象放進冰箱裡 - 開源社PHP入門

72cb3010d624de0055adf1fb6942353f?s=47 Shouko
November 21, 2014

如何把大象放進冰箱裡 - 開源社PHP入門

72cb3010d624de0055adf1fb6942353f?s=128

Shouko

November 21, 2014
Tweet

Transcript

  1. None
  2. շꟚ彂爢 1)1ⰅꟌո 㥶⡦䪾 㣐韍 佞鹎 ⱺ盳酭

  3. &[PCOKE9GDUKVG ō 樽禷傓櫢 ō 傓櫢䎛⑈⺚⧛⹻䥥㵵竼 ō ⯻䎛俵⼶䰛㌈忋珮⃮⑘ⅳ▶㌈ ō ▶禷傓櫢 ō

    傓櫢⑈⺚䠒∛㧮⥉▶禷䠃䠀 ō ⛐⇆竑榺⛲㓷⯻⛲䥥ⅳ▶ GZ䠺峡竡嶷⮨
  4. #DQWV2*2 ō >桬䅱 ō >惉ㅔ⛑ ō 脠2GTN%嵿峡嵿㾶䧙∝褕㉩盪⹙ ō ⛐⇆㋌蒑⻌ⓛ⻰傓䶺褕⅀⛐⇆㞵䡗Ⰸ⩬傓䶺 ō

    ⑈㇛⯻㴄疵䥥ⓞㇰㆌ ō 桬䥝勦窛撰⯻褕䧙梽⚤勤徨㡺弱⺭
  5. #DQWV2*2

  6. #DQWV2*2 Usage of server-side programming languages for websites W3Techs.com, 20

    November 2014
  7. &[PCOKE9GDUKVG ō 樽禷傓櫢 ō 傓櫢䎛⑈⺚⧛⹻䥥㵵竼 ō ⯻䎛俵⼶䰛㌈忋珮⃮⑘ⅳ▶㌈ ō ▶禷傓櫢 ō

    傓櫢⑈⺚䠒∛㧮⥉▶禷䠃䠀 ō ⛐⇆竑榺⛲㓷⯻⛲䥥ⅳ▶ GZ䠺峡竡嶷⮨
  8. 6JGZ#/25VCEM ō .KPWZ9KPFQYU/CE ō #RCEJG ō /[53. ō 2*2 ∽㱎俜缯

    傓櫢∛㧮⥉ 徨㡺ㆌ 肹㨍
  9. 6JGZ#/25VCEM 作業系統 網 ⾴頁 伺 服 器 直 譯 器

    資料庫 靜態檔案 使 ⽤用 者 PHP 程式
  10. &GXGNQROGPV'PXKTQPOGPV ō &GDKCP7DWPVW ō CRVIGVKPUVCNNNCORUGTXGT@ ō /CE/#/2 ō JVVRYYYOCORKPHQ ō

    9KPFQYU:#/22 ō JVVRUQWTEGHQTIGPGVRTQLGEVUZCORR
  11. &QEWOGPV4QQV ō &GDKCP7DWPVW ō XCTYYYQTXCTYYYJVON ō /CE/#/2 ō #RRNKECVKQPU/#/2JVFQEU ō

    9KPFQYU:#/22 ō %>ZCORR>JVFQEU>
  12. &QEWOGPV4QQV =FQEWOGPVTQQV?KPFGZRJR JVVRKPFGZRJR 傓⨡祱䥥⸸ℓ䧕稦⻮㒪┑ FQEWOGPVTQQV⃬橃䥥㵵竼

  13. 5CORNG%QFG JVVRIKVJWDEQO 06715%RJRKPVTQUCORNG

  14. *GNNQ9QTNF <?php echo "Hello World!"; ?>

  15. RJRKPHQ <?php phpinfo(); ?>

  16. XCTKCDNG <?php $a = 1; $b = 2; echo $a

    + $b; ?>
  17. CTTC[ <?php $a = array(); $a[0] = 100; $a[] =

    'Kerker'; $a['haha'] = array( 0 => "零", 1 => "⼀一", 'bla' => 3 ); echo "<pre>"; print_r($a); ?>
  18. UVTKPI <?php $a = "Hello"; $b = "World!"; echo $a."

    ".$b; ?>
  19. (WPEVKQP <?php function add($a, $b){ return $a + $b; }

    echo add(1, 2); ?>
  20. *6/.HQTO ō OGVJQF⎔葶孉⢏徨㡺䥥㢚㾶 ō )'6⨉傓⨡祱橃⇆!RCTCXRCTCX㉃ㇰ⸹⨉ ō 蓕⛩䠉≧ׅ痏㉸׆ GZ)QQING5GCTEJ  ō

    2156⃮㧤歐䰛⨉傓⨡祱橃 ō 蓕⛩䠉≧ׅ⎔葶׆ GZ徝㡨崜⑫  ō CEVKQP⎔葶孉⢏徨㡺䥥䧏㳺 ō 櫱崎甬䠺䵛⎔┑⛭⃡櫢 GZ畘㤐亥≬掄㴄  ō 䧙⻮惐㉲㓷⑗↷傓⨡⎔┑⑗↷櫢褕㓷㤐⑗↷傓䶺
  21. *6/.HQTO ō ⨉*6/.ℎ崎峩孉⢏ ō 櫱崎㡨⸸㷥KPRWVPCOGň痓䴒ʼnXCNWGň櫱崎甬ʼn  ō 㔴◟◟KPRWVV[RGňEJGEMDQZʼnPCOGň痓䴒ʼnXCNWGň甬ʼn  ō

    ⢏蓤稌薚KPRWVV[RGňTCFKQʼnPCOGň痓䴒ʼnXCNWGň甬ʼn  ō ⃬㖪ㇰ蓤⢏UGNGEVPCOGň痓䴒ʼn QRVKQPXCNWGň甬ʼn UGNGEV  ō ⯻嬭㡨⸸VGZVCTGCPCOGň痓䴒ʼn VGZVCTGC  ō 葶ⓛ稌薚KPRWVV[RGňUWDOKVʼnXCNWGň稌薚⃫䥥⸸ʼn  ō ⨉2*2ℎ痏㉸孉⢏甬 ō A)'6楄⓸褕≠䠉A)'6=Ņ痓䴒ņ?痏ⓛ甬 ō A2156楄⓸褕≠䠉A2156=Ņ痓䴒ņ?痏ⓛ甬
  22. *6/.HQTO <html><head><meta charset="utf-8" /></head> <body> <form method="GET"> 乘數:<input name="multiplier"><br />

    被乘數:<input name="multiplicand"><br /> <input type="submit" value="送出"> </form> <br /><br/><br/> <?php if(!empty($_GET)){ $result = $_GET['multiplier'] * $_GET['multiplicand']; echo "你的算式是: “; echo $_GET['multiplier']." x ".$_GET['multiplicand']; echo "<br />"; echo "答案是: ".$result; } ?> </body> </html>
  23. 4GUQWTEGU ō 2*21HHKEKCN5KVG ō JVVRYYYRJRPGV ō 95EJQQNU2*26WVQTKCN ō JVVRYYYYUEJQQNUEQORJR ō

    %QFG#ECFGO[ ō JVVRYYYEQFGECFGO[EQOGPVTCEMURJR