PHP & MySQL 簡介

《PHP簡介》

網頁大致上可以分為前端與後端的語法,前端的語法大致上有:HTML、CSS、Javascript和最近比較熱門的jQuery,主要用在網頁結構(HTML)、網頁樣式(CSS)與一些互動和動畫效果(Javascript),後端語法大致上有:ASP、JSP和本課程的PHP,而前端語法是由網頁伺服器傳送到使用者的瀏覽器後,由瀏覽器來解讀後顯示於畫面,由於這個工作原理,使用者可以在瀏覽器直接觀賞到網頁中所有的前端語法,而後端語法是使用者提出需求後,由伺服器來解讀該需求,處理該需求後,傳回前端語法給使用者,瀏覽器解讀後再呈現。

所以若我們要撰寫PHP的語法,就必須要架設可以解讀該語法的伺服器,而關於伺服器的架設非網頁設計的專業領域,所以我們架設的伺服器,僅供撰寫語法與測試語法使用,通常撰寫後的頁面,必須上傳到虛擬主機來讓廣大的使用者使用,對於安全性來說會比較有保障。

《MySQL簡介》

許多網站都希望可以保存使用者的使用紀錄會個人資料,這樣才可以做好客戶關係管理,這樣一來我們就需要利用到資料庫,而對於免費授權的PHP語法來說,免費授權的資料庫MySQL就是一個最好的搭檔。

《PHP+MySQL簡介》

MySQL只是存資料的媒介,PHP可以了解使用者的需求,接收使用者的資料,所以由PHP接收資料後把資料寫入(Insert)資料庫,或是由PHP接收到使用者想要修改個人的資料進而進行資料變更(Update)後寫入資料庫,或是該使用者刪除(Delete)了一些訊息紀錄,亦或是使用者想要看到(Select)我們最新的商品資訊,都是由PHP接受使用者的需求,也利用PHP對資料庫提出需求後傳回結果給使用者。

《軟體安裝》

軟體下載路徑:http://www.appservnetwork.com/

本套裝軟體包含四套不同的子軟體,分述如下:

Apache 2.2.8:伺服器架設軟體
PHP 5.2.6:讓伺服器可以順利的解譯PHP的程式
MySQL 5.0.51b:資料庫
phpMyAdmin-2.10.3:資料庫管理介面

軟體安裝後請在瀏覽器中輸入:「http://localhost/」測試是否成功

You may also like...

17,791 Responses

  1. I love your blog. It looks every informative.

  2. Thank you so much for sharing this wonderful post with us.

  3. Carolinpisn表示:

    bingo online for money
    casino bonuses
    best online casino to win money

  4. Kelseypisn表示:

    torrent vpn
    best vpn for laptop
    free vpn apk

  5. DarnellKar表示:

    ed meds online canada comfortis without vet prescription

  6. DustinIsolo表示:

    https://medrxfast.com/# online canadian pharmacy

  7. Thomassax表示:

    https://medrxfast.com/# best canadian online pharmacy

  8. RichardRof表示:

    подъемники строительные
    http://podyemniki-machtovyye-teleskopicheskiye.ru

  9. Rjadrj表示:

    buy cleocin online cheap order nolvadex 20mg generic budesonide price

  10. Fanyapisn表示:

    online casino no deposit bonus 2021
    best no deposit bonus online casino
    free money casino

  11. Ashleighpisn表示:

    hotspot vpn
    what’s the best vpn
    best free vpn for ipad

  12. pet poop bags表示:

    Great post. Just a heads up – I am running Ubuntu with the beta of Firefox and the navigation of your blog is kind of broken for me.

  13. RichardRof表示:

    самоходный подъемник
    https://podyemniki-machtovyye-teleskopicheskiye.ru

  14. DustinIsolo表示:

    https://medrxfast.com/# canada ed drugs

  15. DavidLek表示:

    canadian drug buy cheap prescription drugs online

  16. DarnellKar表示:

    prescription drugs online without doctor canadian online pharmacy

  17. A great post without any doubt.

  18. Jenerik yardımcı maddelerin kompozisyonu ile ayırt edilir.
    Son yıllarda, ve üreticilerin kendileri olarak, patent
    uzanan değil, jenerik ilaçlar üretmek. Üretiminde
    zaten harcanıyordaha az para. Bu durumda, jenerik ve orijinal preparatların aynı
    ekipman üzerinde ve üreticinin kontrolü altında üretilmesi olumludur.

  19. Seyahat edeceğiniz ülkenin vize rejimini kontrol ediniz.
    Bazı ilaçların içerdiği maddeler nedeniyle bazı
    ülkelere sokulması yasak olduğundan.

  20. Gebelikte ilaç alabilir miyim. merhaba 8 ağustostu.dün regl olmam gerekiyordu ün test yaptım pozitif
    gündür karın ve bel bölgemde çok ağrı ğin ilk günlerinde gi bi ilaç almamda mahsur
    ze tşk ırlı kandiller diliyorum.

  21. Carolanpisn表示:

    best mobile casino
    free bonus slots
    online casino bonus

  22. Jenneepisn表示:

    vpn vanish
    free vpn services
    best free vpn reddit 2022

  23. Hjfjkp表示:

    buy metronidazole 200mg order metronidazole 200mg generic glucophage pills

  24. DustinIsolo表示:

    https://medrxfast.com/# ed meds online canada

  25. Ronaldopise表示:

    самоходный подъемник
    https://www.podyemniki-machtovyye-teleskopicheskiye.ru/

  26. DarnellKar表示:

    ed meds online without prescription or membership ed meds online canada

  27. The information shared is of top quality which has to get appreciated at all levels. Well done…

  28. Jenneepisn表示:

    the best vpn 2018
    buy private vpn
    how to buy vpn

  29. I am lucky that I discovered this website , precisely the right info that I was searching for! .

  30. 먹튀검증表示:

    Thanks for some other great post. Where else may anybody get that kind of information in such an ideal method of writing? I’ve a presentation next week, and I am at the look for such information.

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。