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,675 Responses

  1. Artinly表示:

    In case of any failed delivery, a full refund or reshipment is 100 guaranteed brand cialis online

  2. Ifolor表示:

    red dog casino buy ed pills sale write college essays for money

  3. HenryNew表示:

    buy amoxicillin 500mg usa where can you buy amoxicillin over the counter

  4. Encarve表示:

    Lifestyle modifications and phytotherapies have no or minimal impact on sexual function but these are also less effective on lower urinary tract symptoms LUTS buy cialis 5mg How should I take Roman s Testosterone Support supplement

  5. Jon表示:

    %%

    my web blog … seo packages for small business (Jon)

  6. %%

    Feel free to surf to my site – Gambling, https://Prodanceireland.Com,

  7. Amatapisn表示:

    mobile slots
    bonus casino no deposit
    best free casino bonus no deposit

  8. %%

    Feel free to surf to my page :: Boat accident lawsuit

  9. ThomasPoire表示:

    https://amoxicillin.pro/# where can i get amoxicillin 500 mg

  10. Karrypisn表示:

    christian dating for free
    single personal ads
    free online chat

  11. Casandrapisn表示:

    no deposit sign up bonus casino
    online casino usa real money no deposit bonus
    online real money casinos

  12. Qecpyg表示:

    canadian viagra cost viagra 150mg order tadalafil 20mg without prescription

  13. Online casinos offer many benefits. The process of signing up doesn’t require you
    to invest a lot of money. Most online casinos offer free games and
    players can play them to see which games they like best.

    my web-site … Gambling (walitangkas.Com)

  14. Petercof表示:

    https://antibiotic.icu/# zithromax 250 mg

  15. HenryNew表示:

    order amoxicillin online buy amoxicillin online cheap

  16. ThomasPoire表示:

    https://antibiotic.icu/# cheap antibiotic

  17. Emaliapisn表示:

    dating sims free online japanese adult
    best dating sites
    1 dating sites

  18. Kyrstinpisn表示:

    gree gay dating sites
    gay hook up dating site
    dating gay bear

  19. whoah this weblog is wonderful i like reading your articles. Keep up the good paintings! You already know, many people are looking around for this information, you can help them greatly.

  20. buy rdp表示:

    Just want to say what a great blog you got here!I’ve been around for quite a lot of time, but finally decided to show my appreciation of your work!

  21. A good web site with interesting content, that’s what I need. Thank you for making this web site, and I will be visiting again. Do you do newsletters? I Can’t find it.

  22. Sexdoll Sale表示:

    %%

    Feel free to surf to my page: Sexdoll Sale

  23. Gambling online is governed by various rules and regulations.
    For instance in the US, you cannot have gambling websites
    that are located in your country of residence. However, it is possible to be established elsewhere.

    Here is my website – dealers – yildirimajans.net,

  1. 2022-08-29

    […] Internet gambling. This includes gambling on unregulated websites or with multiple accounts, and cloudlab.tw multiple activities on the internet. These warnings should be heeded and you should take immediate […]

發佈留言

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