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...

16,139 Responses

  1. Nice post. I discover something tougher on different blogs everyday. Most commonly it is stimulating to learn content off their writers and use a little at their store. I’d would rather apply certain using the content in my weblog whether you don’t mind. Natually I’ll offer you a link for your internet weblog. Appreciate your sharing.

  2. JacobGed表示:

    1xBet Djiboutit utilisez le code bonus pour obtenir un bonus VIP de 100% jusqu’a 130€ pour les Paris sportifs, ainsi qu’un bonus de casino de 1950 € + 150 tours de machines a sous. En utilisant le code promotionnel, vous pouvez vous attendre a ce que vos gains soient aussi eleves que dans le cas du plus grand bookmaker 1xbet. Tous les joueurs des pays suivants peuvent utiliser le code lors de l’inscription et recevoir un bonus de bienvenue:

  3. Профессиональный сервисный центр по ремонту бытовой техники с выездом на дом.
    Мы предлагаем: ремонт крупногабаритной техники в москве
    Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!

  4. электрокарнизы для штор купить в москве электрокарнизы для штор купить в москве .

  5. Hi, if your looking for yarn have a look at Tangled Yarn, they have a great selection.

  6. And on any given day, over 37 million Americans-most of them working people and their little children-have no medical insurance in any respect.

  7. Профессиональный сервисный центр по ремонту бытовой техники с выездом на дом.
    Мы предлагаем: сервисные центры в казани
    Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!

  8. Профессиональный сервисный центр по ремонту стиральных машин с выездом на дом по Москве.
    Мы предлагаем: ремонт стиральных машин москва сервис центр
    Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!

  9. マジュロ表示:

    The roots of those volcanic mountains and the action of Precambrian seas formed the Iron Range of northern Minnesota.

  10. ReeceGed表示:

    Quelle est la mise minimale et la limite minimale de 1xBet?
    Conformement aux regles du bookmaker, le depot minimum dans le bureau est de 1$.1xBet Rwanda La mise minimale est de 0,2 $ou l’equivalent de ce montant dans une autre monnaie de jeu.

  11. Some areas of variations among states embody: when and the way often SNAP recipients should report household circumstances; on whether the state agency acts on all reported changes or solely some adjustments; whether or not the state makes use of a simplified method for figuring out the cost of doing business in circumstances the place an applicant is self-employed; and whether legally obligated baby help funds made to non-family members are counted as an earnings exclusion fairly than a deduction.

  12. I seriously love your website.. Pleasant colors & theme. Did you create this web site yourself? Please reply back as I’m hoping to create my very own blog and want to learn where you got this from or just what the theme is called. Kudos!

  13. Transfer in Modulars: Modular models can be found in dozens of kinds and supplies from plastic to wood.

  14. пластиковые окна рулонные шторы с электроприводом https://rulonnye-shtory-s-elektroprivodom.ru/ .

  15.  This con᠎te᠎nt h​as be​en gen᠎erat᠎ed  with GSA Conte nt Gen​erat᠎or  Dem​ov᠎ersion!

  16. PBN表示:

    There’s certainly a great deal to learn about this issue. I like all of the points you have made.

  17. The fee strategy is taken into account most dependable when used on newer structures, however the method tends to change into less dependable for older properties.

  18. You’ve articulated something I’ve felt for a while.오피

  19. Отличный сайт! Всем рекомендую!оптика Москва

  20. DouglasHoapy表示:

    1хбет промокод при регистрации на сегодня
    A 1x Bet bonus code is a code that unlocks bonuses such as deposit matches, free bets, or free spins. These codes are often provided as part of welcome offers or special promotions and can be entered during registration or when making a deposit.

  21. Если вы искали где отремонтировать сломаную технику, обратите внимание – профи услуги

  22. Right here is the perfect website for anyone who really wants to understand this topic. You realize a whole lot its almost hard to argue with you (not that I really will need to…HaHa). You definitely put a new spin on a topic which has been discussed for years. Excellent stuff, just wonderful.

  23. Если вы искали где отремонтировать сломаную технику, обратите внимание – ремонт бытовой техники в новосибирске

  24. being a blogger myself , i can see someone with great potential,  

  25. DouglasHoapy表示:

    bet of africa promo code
    A 1x Bet bonus code is a code that unlocks bonuses such as deposit matches, free bets, or free spins. These codes are often provided as part of welcome offers or special promotions and can be entered during registration or when making a deposit.

  26. I really wanted to develop a small remark to say thanks to you for some of the amazing recommendations you are writing at this website. My considerable internet look up has at the end been recognized with brilliant suggestions to exchange with my guests. I would assert that we site visitors actually are quite lucky to exist in a wonderful community with so many outstanding people with very beneficial principles. I feel very much fortunate to have used your entire webpage and look forward to many more brilliant times reading here. Thanks once again for all the details.

  27. DouglasHoapy表示:

    промокод новинка 1xbet
    1xBet offers various bonuses to its users, including welcome bonuses, free bets, deposit matches, and free spins. These bonuses are often activated using promo codes and provide users with extra value for their bets.

  28. Very good blog post. I certainly love this website. Continue the good work!

  29. мебельный поролон купить москва http://www.porolon-mebelnyj.ru/ .

發佈留言

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