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

  1. Seu cassino on-line de confianca Blaze

  2. It is my first visit here. I discovered some important stuff rrnside your blog especially this discussion. Compete the best work.

  3. Simply want to say your article is as amazing. The clearness in your post is just spectacular and i can assume you’re an expert on this subject. Well with your permission let me to grab your feed to keep updated with forthcoming post. Thanks a million and please continue the gratifying work.

  4. Отличный сайт! Всем рекомендую!Воздушные шары

  5. So, is this just for men, just for women, or is it for both sexes If it s not, then do women need to do anything different to put on muscle

  6. Aw, this was a really nice post. In idea I want to put in writing like this moreover – taking time and actual effort to make a very good article… however what can I say… I procrastinate alot and not at all seem to get one thing done.

  7. Divirta-se no cassino mais confiavel Blaze

  8. Jogue no cassino de maior prestigio Blaze

  9. All other webmasters should take note: this is what awesome articles look like! I cannot wait to read more of your work! Not only is it engaging, but it is also well-written. If you would reply with a link to your Facebook, I would be extremely grateful!

  10. Descubra o melhor cassino online Blaze

  11. Cassinos com as melhores promocoes Blaze

  12. I was on Twitter looking for Neiko Tools when I found a link to this blog, happy I stopped by – Cheers

  13. both David Cook and David Archuleta are the best in my opinion, they have this unique voice.

  14. Sua diversao garantida no nosso cassino Blaze

  15. Melhor casa de apostas para jogos de cassino Blaze

  16. Many thanks I ought say, impressed with your site. I will post this to my facebook wall.

  17. Cassino com os maiores jackpots Blaze

  18. Thanks for sharing superb informations. Your web-site is very cool. I’m impressed by the details that you have on this blog. It reveals how nicely you understand this subject. Bookmarked this website page, will come back for extra articles. You, my friend, ROCK! I found simply the information I already searched all over the place and simply could not come across. What a great website.

  19. We will help you get the most out of your services – Promonode

  20. I read a lot of online articles and I’ve found that it’s hard to find quality writing. I’m so happy I found this article because it’s renews my faith in good writers. This is awesome!

  21. Eu recomendo um cassino confiavel Blaze

  22. Aventura e diversao em um so cassino Blaze

  23. Jogue e ganhe no melhor cassino Blaze

  24. Photograph utilizing a cellulite meal plan to make sure if I am qualified to at last eradicate the best dimpled skin eternally. Experts have problematic but i morning sticking with it all. I am experience even better within excellent personally, so can be described as get going with.

  25. I know this isn’t exactly on subject, however i have a website utilizing the identical program as nicely and i get troubles with my comments displaying. is there a setting i am missing? it’s doable you might help me out? thanx.

  26. i would love to sip a cup of green tea each morning because it contains L-theanine which calms the mind..

  27. Have read a couple of of the articles on your website now, and I really like your style of blogging. I added it to my favorites blog website list and will probably be checking back soon.

  28. I just put the link of your blog on my Facebook Wall. very nice blog indeed.`-*~;

發佈留言

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