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

18,843 Responses

  1. công an表示:

    Introducing to you the most prestigious online entertainment address today. Visit now to experience now!

  2. Shaneevige表示:

    I absolutely love your blog and find almost all of your post’s to be just what I’m looking for. Would you offer guest writers to write content for you? I wouldn’t mind publishing a post or elaborating on a few of the subjects you write about here. Again, awesome blog!
    https://millionigrushek.ru/

  3. Eden Haine表示:

    I learned so much from this post. The ability to break down hard to understand ideas is something I really admire.

  4. EarnestAvada表示:

    Hi there, the whole thing is going well here and ofcourse every one is sharing facts, that’s really good, keep up writing.
    https://millionigrushek.ru/

  5. cộng sản表示:

    Introducing to you the most prestigious online entertainment address today. Visit now to experience now!

  6. The insights add so much value to the conversation. I always learn something new from you.

  7. Wallacefex表示:

    deneme bonusu veren siteler: denemebonusuverensiteler25 – deneme bonusu veren yeni siteler

  8. công an表示:

    Introducing to you the most prestigious online entertainment address today. Visit now to experience now!

  9. JasonUnsoG表示:

    https://denemebonusuverensiteler25.com/# yat?r?ms?z deneme bonusu veren siteler

  10. DannyUnded表示:

    How Nigeria’s biggest city became the world’s hottest winter party destination
    casino bonus

    It’s a world of endless parties and sleepless nights. A relentless celebration that turns West Africa – and especially Nigeria’s largest city, Lagos – into one of the hottest destinations on the continent, if not the planet, right in the middle of winter.

    Detty December is a magical time between December and early January when diaspora communities and tourists flock to Ghana, Nigeria and South Africa for an unforgettable experience filled with flavourful food, soulful African music and sunshine.

    Beach parties, festivals and top-tier performances fuel the energy, while fashion takes center stage, with everyone dressing to impress.

    Nearly two-thirds of Nigeria’s population is under 25, according to the United Nations Population Fund, making this one of the world’s youngest countries.

    Internationally renowned Afrobeats performers and foreign artists make surprise appearances. DJs take to the streets, blasting powerful beats from consoles mounted atop bright yellow minibuses.

    At times it’s all-consuming. Good luck getting hair salon appointments, affordable air tickets or navigating Lagos’ already notorious traffic when the party crowds are in town.

    Detty December (“detty” is a playful corruption of “dirty”) is a triumphant celebration of culture, music and good vibes that has evolved in recent years during the traditional holidays influx of diaspora returnees, which heightened in 2018 when Ghana ran a launched a successful “Year of Return” campaign actively encouraging people to visit their ancestral homelands.

    It’s gathered pace over the past five years, gaining an international reputation, as IJGBs (“I Just Got Backs”) and their friends arrive in batches, eager to unwind and blow off steam after the fast-paced, hard-working year they’ve had overseas.

    For many in the vast Nigerian diaspora, it is a deeply personal homecoming, a chance to reconnect with their heritage, traditions and families while immersing themselves in the lively energy of Nigerian life.

  11. FrankEmine表示:

    en cok kazand?ran slot oyunlar?: guvenilir slot siteleri – slot siteleri

  12. Vena Wolner表示:

    The writing style is captivating! I was engaged from start to finish.

  13. BradleyEdino表示:

    yeni deneme bonusu veren siteler [url=http://denemebonusuverensiteler25.com/#]yeni deneme bonusu veren siteler[/url] yeni deneme bonusu veren siteler

  14. make stamp online [url=https://stamp-creator-online0.com]make stamp online[/url] .

  15. AntonioLooke表示:

    Создайте дом своей мечты https://intellectronics.com.ua На нашем портале вы найдете идеи, инструкции и новейшие технологии для ремонта и строительства.

  16. Jacobfax表示:

    Станьте мастером https://fmsu.org.ua своего дела! Портал для тех, кто хочет строить и ремонтировать качественно и выгодно.

  17. Davidthavy表示:

    Делайте ремонт https://esi.com.ua и стройте легко! Лучшие советы мастеров, подбор инструментов, инструкции и сметы. Мы поможем справиться с любой задачей.

  18. JerrySlemy表示:

    Хотите построить дом https://donbass.org.ua или сделать ремонт? Здесь вы найдете всё: инструкции, идеи, современные технологии и проверенные решения. Портал для тех, кто строит.

  19. Robertdance表示:

    Все для строителей и мастеров https://dki.org.ua актуальные технологии, практические советы, строительные материалы и проекты. Простые решения для сложных задач!

  20. Kevinkaw表示:

    Ваш путеводитель в мире строительства https://dcsms.uzhgorod.ua идеи, планы, пошаговые инструкции и лучшие материалы. Узнайте, как построить дом мечты или обновить интерьер.

  21. RobertFow表示:

    Профессиональный портал для строительства https://blogcamp.com.ua проекты, материалы, расчеты, советы и вдохновение. Все, чтобы ваш ремонт или стройка были успешными.

  22. RobertMut表示:

    сухой гидрозатвор для канализации заглушки для труб канализации

  23. MichaelunmaK表示:

    топические стероиды метан стероид купить

  24. JamesFen表示:

    CMS 1С-Битрикс Бизнес https://magikfox.ru/catalog/license/upravlenie-saytom/biznes/ купить лицензию в официальном маркетплейсе. Редакция Bitrix Бизнес для интернет магазина. Быстрая отправка лицензионного ключа. Помощь в установке и настройке.

  25. StephenDeery表示:

    Today, I went to the beach with my children. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She put the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is totally off topic but I had to tell someone!

    https://clickforart.com/best-value-headlight-sealants.html

發佈留言

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