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

13,508 Responses

  1. Tubidy表示:

    Hi there! This blog post could not be written any better! Reading through this post reminds me of my previous roommate! He always kept talking about this. I’ll forward this post to him. Fairly certain he’ll have a very good read. Thank you for sharing!

  2. duscaff表示:

    Yo, I’ve been gettin my site ranked “pre spun articles”.

  3. Отличный сайт! Всем рекомендую!брендинг

  4. Tente a sua sorte nos melhores casinos Blaze

  5. Seu cassino online favorito Blaze

  6. I’d need to check with you here. Which just isn’t something I generally do! I delight in reading a post that may make persons think. Also, thanks for allowing me to comment!

  7. ytmp3 safe表示:

    Hello there! I simply would like to offer you a huge thumbs up for your excellent information you have got here on this post. I am coming back to your site for more soon.

  8. I find a good site for a long time. .Thanks for sharing good article. .And I will visit your site.

  9. Excellent info and straight to the point. I am not sure if this really is in fact the best location to ask but do you folks have any ideea where to hire some skilled writers? Thx

  10. Jogue com prazer neste cassino Blaze

  11. marketing jobs can really earn you lots of dollars but most of the time, it is a difficult job*

  12. bs 5973表示:

    Exceptional document and even quick to help you recognize justification. Exactly how can As i continue acquiring concur to help you place component belonging to the post inside new newssheet? Getting right credit standing you that publisher and even web page link with the internet site won’t even be a concern.

  13. Experimente o cassino mais popular Blaze

  14. What i do not realize is actually how you’re not really much more neatly-liked than you might be right now. You’re so intelligent. You already know thus considerably in relation to this matter, made me in my view believe it from a lot of numerous angles. Its like men and women aren’t interested unless it is something to do with Girl gaga! Your individual stuffs outstanding. Always deal with it up!

  15. Regards for this marvellous post, I am glad I detected this web site on yahoo.

  16. Sua sorte esta no cassino confiavel Blaze

  17. Touched on personal resonances, or as I like to call it, psychic abilities.

  18. The perspective is like a rare gem, valuable and unique in the vastness of the internet.

  19. Engaging with The work is as thrilling as a spontaneous road trip. Where to next?

  20. Adam Wydeven表示:

    A breath of fresh air, or what I needed after being suffocated by mediocrity.

  21. O melhor cassino para grandes vitorias Blaze

  22. Sua sorte em um cassino confiavel Blaze

  23. Desfrute da emocao no melhor cassino Blaze

  24. Os melhores jogos deste cassino Blaze

  25. Jogue no cassino aprovado Blaze

  26. Ganhe no cassino mais confiavel Blaze

  27. Cassino que voce vai adorar Blaze

  28. Seu cassino da sorte espera por voce Blaze

  29. A melhor opcao para jogos de azar Blaze

  30. Beautifully written and informative, making the rest of the internet look bad.

發佈留言

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