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

11,751 Responses

  1. JasonNenly表示:

    Robert Lewandowski https://barcelona.robertlewandowski-ar.com is one of the most prominent footballers of our time, and his move to Barcelona has become one of the most talked about topics in world football.

  2. Lesliedap表示:

    Toni Kroos https://real-madrid.tonikroos-ar.com the German midfielder known for his accurate passes and calmness on the field, has achieved remarkable success at one of the most prestigious football clubs in the world.

  3. Stacyflasp表示:

    Victor Osimhen https://napoli.victorosimhen-ar.com born on December 29, 1998 in Lagos, Nigeria, has grown from an initially humble player to one of the brightest strikers in modern football.

  4. HowardNal表示:

    Vinicius Junior https://real-madrid.vinicius-junior-ar.com the Brazilian prodigy whose full name is Vinicius Jose Baixao de Oliveira Junior, has managed to win the hearts of millions of fans around the world in a short period of time.

  5. TravisRig表示:

    Earvin “Magic” Johnson https://los-angeles-lakers.magicjohnson.biz is one of the most legendary basketball players in history. NBA history.

  6. Zdampy表示:

    order verapamil sale – diltiazem order online buy tenoretic pills

  7. Sazryss表示:

    Привет!
    Как получить диплом техникума с упрощенным обучением в Москве официально
    w98804oc.beget.tech/2024/07/11/vash-diplom-dlya-uspeshnoy-karery-bystro-i-nadezhno.html
    Будем рады вам помочь!.

  8. Jamesnok表示:

    Nuno Mendes https://paris-saint-germain.nuno-mendes.com, a talented Portuguese left-back, He quickly became one of the key figures in the Paris Saint-Germain (PSG) team.

  9. Herberttoure表示:

    Bruno Miguel Borges Fernandes https://manchester-united.brunofernandes-br.com was born on September 8, 1994 in Maia, Portugal.

  10. DavidTerge表示:

    Daniel Alves https://paris-saint-germain.danielalves.net is a name that symbolizes the greatness of the world of football.

  11. Dwainguast表示:

    Rodrygo Silva de Goes https://real-madrid.rodrygo-br.com, known simply as Rodrygo, emerged as one of the the brightest young talents in world football.

  12. LutherExase表示:

    Anderson Silva https://killer-bees-muay-thai-college.andersonsilva.net was born in 1975 in Curitiba Brazil. From a young age he showed an interest in martial arts, starting to train in karate at the age of 5.

  13. En guvenilir online casino Sweet bonanza

  14. Kumar oynamak icin en iyi secim Sweet bonanza

  15. Dnrtngk表示:

    Здравствуйте!
    Заказать документ университета можно в нашей компании в Москве.
    diplomasx24.ru/kupit-diplom-rostov-na-donu
    Удачи!

  16. Sazrhnl表示:

    Привет, друзья!
    Покупка диплома о среднем полном образовании: как избежать мошенничества?
    fremontrp.listbb.ru/viewtopic.php?f=18&t=432
    Поможем вам всегда!.

  17. Fazrlqg表示:

    Здравствуйте!
    Мы предлагаем дипломы любой профессии по приятным тарифам. Стоимость зависит от той или иной специальности, года выпуска и образовательного учреждения.
    Где приобрести диплом по необходимой специальности?
    Заказать диплом любого ВУЗа
    arusak-diploms-srednee.ru/kupit-diplom-v-rostove-na-donu  
    Удачи!

  18. Cazrgqq表示:

    Привет!
    Мы предлагаем документы ВУЗов, расположенных в любом регионе Российской Федерации. Можно заказать диплом за любой год, указав подходящую специальность и хорошие оценки за все дисциплины. Документы выпускаются на бумаге высшего качества. Это позволяет делать государственные дипломы, не отличимые от оригинала. Документы заверяются всеми необходимыми печатями и подписями.
    Заказать диплом любого университета.
    http://www.webofiice.ro/blogs/1890/%D0%9A%D0%B0%D0%BA-%D0%BC%D0%BE%D0%B6%D0%BD%D0%BE-%D0%B1%D1%8B%D1%81%D1%82%D1%80%D0%BE-%D0%BA%D1%83%D0%BF%D0%B8%D1%82%D1%8C-%D0%B4%D0%B8%D0%BF%D0%BB%D0%BE%D0%BC-%D0%B2-%D0%BE%D0%BD%D0%BB%D0%B0%D0%B9%D0%BD-%D0%BC%D0%B0%D0%B3%D0%B0%D0%B7%D0%B8%D0%BD%D0%B5
    Успехов в учебе!

  19. Dnrtkcq表示:

    Привет!
    Заказать документ о получении высшего образования вы сможете в нашем сервисе.
    ast-diplomy24.ru/kupit-diplom-rostov-na-donu
    Успешной учебы!

  20. Hello there, I do think your website may be having browser compatibility issues. Whenever I look at your blog in Safari, it looks fine however, if opening in IE, it’s got some overlapping issues. I simply wanted to provide you with a quick heads up! Apart from that, fantastic website!

  21. Fazrgbg表示:

    Добрый день!
    Мы готовы предложить дипломы любой профессии по приятным тарифам. Стоимость зависит от выбранной специальности, года получения и образовательного учреждения.
    Где купить диплом специалиста?
    Приобрести диплом о высшем образовании
    arusak-diploms-srednee.ru/diplom-sredne-spetcialnoe-obrazovanie  
    Хорошей учебы!

  22. Cazrxrr表示:

    Здравствуйте!
    Мы предлагаем документы техникумов, которые находятся на территории всей Российской Федерации. Можно приобрести качественный диплом за любой год, включая сюда документы старого образца СССР. Документы выпускаются на “правильной” бумаге самого высшего качества. Это дает возможности делать государственные дипломы, которые невозможно отличить от оригинала. Они будут заверены необходимыми печатями и подписями.
    Заказать диплом о высшем образовании.
    ytm5btq03.bloggadores.com/27919196/%D0%9A%D0%B0%D0%BA-%D0%B2%D0%BE%D0%B7%D0%BC%D0%BE%D0%B6%D0%BD%D0%BE-%D0%B1%D1%8B%D1%81%D1%82%D1%80%D0%BE-%D0%BF%D1%80%D0%B8%D0%BE%D0%B1%D1%80%D0%B5%D1%81%D1%82%D0%B8-%D0%B4%D0%B8%D0%BF%D0%BB%D0%BE%D0%BC-%D0%B2-%D0%B8%D0%BD%D1%82%D0%B5%D1%80%D0%BD%D0%B5%D1%82-%D0%BC%D0%B0%D0%B3%D0%B0%D0%B7%D0%B8%D0%BD%D0%B5
    Успешной учебы!

  23. Eddiehem表示:

    In the world of professional tennis, the name of Gustavo Kuerten https://roland-garros.gustavokuerten.com is closely linked to one of the most prestigious Grand Slam tournaments – Roland Garros.

  24. MichaelHycle表示:

    Ayrton Senna https://mclaren.ayrtonsenna-br.com is one of the greatest drivers in the history of Formula 1.

  25. Darrellspoop表示:

    Bieber’s https://baby.justinbieber-br.com path to global fame began with his breakthrough success Baby, which became his signature song and one of the most popular music videos of all time.

  26. Gilbertmax表示:

    Achraf Hakimi https://paris-saint-germain.ashrafhakimi.net is a young Moroccan footballer who quickly reached the football elite European in recent years.

  27. ErnestWeask表示:

    Kobe Bryant https://los-angeles-lakers.kobebryant-br.net one of the greatest basketball players of all the times, left an indelible mark on the history of sport.

發佈留言

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