Danh mục tài liệu

Web Database_ Step-by-Step Guide

Số trang: 23      Loại file: pdf      Dung lượng: 48.16 KB      Lượt xem: 18      Lượt tải: 0    
Xem trước 3 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

This guide is meant as an introductory guide to get you started in the world of server-side-scripting and web databases. It will help you get up and running with the aforementionedproducts, and hopefully give you a better understanding of how this stuff all works.
Nội dung trích xuất từ tài liệu:
Web Database_ Step-by-Step GuideWeb Database Step-by-Step Guide April 27, 1999 By Ying Zhang yzhang@sfu.ca http://www.sfu.ca/~yzhang/linux/webdb iContentsContents .................................................................................... iiRevisions .................................................................................. ivCredits........................................................................................ vIntroduction ............................................................................... 1 Disclaimer....................................................................................................................1 How It Works ...............................................................................................................1Requirements ............................................................................ 3 Getting MySQL............................................................................................................3 Getting Apache ...........................................................................................................3 Getting PHP ................................................................................................................3 Getting GD (optional) ..................................................................................................4 Other Packages...........................................................................................................4Installing MySQL ....................................................................... 5 RPM Installation ..........................................................................................................5 Binary Installation ........................................................................................................5 Installing the Binary Distribution .....................................................................................................5 Creating a MySQL User .................................................................................................................5 Preparing MySQL ..........................................................................................................................6 Make MySQL Start Automatically...................................................................................................6 Testing MySQL............................................................................................................6 Changing the Admin Password ...................................................................................7Installing Apache....................................................................... 8 Configuring Apache.....................................................................................................9 Testing Apache ...........................................................................................................9Installing PHP .......................................................................... 10 Configuring PHP........................................................................................................10 Testing PHP ..............................................................................................................11Web DB Example Part 1 .......................................................... 12 Building the Database ...............................................................................................12 Creating the database..................................................................................................................12 Create a new table.......................................................................................................................12 Adding some data........................................................................................................................13 Creating a Database User.........................................................................................13Web DB Example Part 2 .......................................................... 15 Creating the PHP Scripts ..........................................................................................15 index.php3...................................................................................................................................15 add.php3 .....................................................................................................................................16 iiWeb DB Example Part 3 . ...