php and mysql web development, second edition

913 448 0
php and mysql web development, second edition

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... Appendixes A Installing PHP and MySQL 789 Running PHP as a CGI Interpreter or Module 790 Installing Apache, PHP, and MySQL Under Unix 790 Binary Installation 790 Source Installation 791 httpd.conf File—Snippets 798 Is PHP Support Working? 799 Is SSL Working? 799 Installing Apache, PHP, and MySQL Under Windows 801 Installing MySQL Under Windows 801 Installing Apache Under Windows 805 Installing PHP for Windows... 436 434 V Building Practical PHP and MySQL Projects 22 Using PHP and MySQL for Large Projects 439 Applying Software Engineering to Web Development 440 Planning and Running a Web Application Project 440 Reusing Code 441 Writing Maintainable Code 442 Coding Standards 442 Breaking Up Code 445 Using a Standard Directory Structure 446 Documenting and Sharing In-House Functions 446 Implementing Version Control... pages, you will find distilled knowledge from our experiences using PHP and MySQL, two of the hottest Web development tools around In this introduction, we’ll cover n n n n n Why you should read this book What you will be able to achieve using this book What PHP and MySQL are and why they’re great An overview of the latest features of PHP 4 How this book is organized Let’s get started Why You Should... Your MySQL Database from the Web with PHP 223 How Web Database Architectures Work 224 The Basic Steps in Querying a Database from the Web 227 Checking and Filtering Input Data 227 Setting Up a Connection 228 Choosing a Database to Use 230 Querying the Database 230 Retrieving the Query Results 231 Disconnecting from the Database 232 Putting New Information in the Database 232 Other Useful PHP- MySQL. .. Page xxx B Web Resources 813 PHP Resources 813 MySQL and SQL Specific Resources Apache Resources 815 Web Development 815 Index 817 815 00 525x fm 1/24/03 2:56 PM Page xxxi About the Authors Laura Thomson is a lecturer in the School of Computer Science and Information Technology at RMIT University in Melbourne, Australia She is also a partner in the award-winning Web- development firm Tangled Web Design... We appreciate immensely the work done by the PHP and MySQL development teams.Their work has made our lives easier for a number of years now, and continues to do so on a daily basis We thank Adrian Close at eSec for saying “You can build that in PHP back in 1998 He said we would like PHP, and it seems he was right Finally, we would like to thank our family and friends for putting up with us while we... 185 Setting Up Users:The GRANT Command 185 Types and Levels of Privilege 186 The REVOKE Command 188 Examples Using GRANT and REVOKE 189 Setting Up a User for the Web 190 Logging Out as root 190 Using the Right Database 190 Creating Database Tables 191 What the Other Keywords Mean 192 Understanding the Column Types 193 Looking at the Database with SHOW and DESCRIBE 195 MySQL Identifiers 196 Column Data... Extending the Project 737 Further Reading 737 31 Connecting to Web Services with XML and SOAP 739 The Problem 739 Understanding XML 740 Understanding Web Services SOAP 744 WSDL 745 744 00 525x fm 1/24/03 2:56 PM Page xxix Contents Solution Components 746 Building a Shopping Cart 746 Using Amazon’s Web Services Interfaces Parsing XML 747 Using SOAP with PHP 747 Caching 747 Solution Overview 748 Core Application... Attributes 176 Summary of Table Types 177 Web Database Architecture 177 Architecture 178 Further Reading 179 Next 179 00 525x fm 1/24/03 2:56 PM Page xv Contents 8 Creating Your Web Database 181 A Note on Using the MySQL Monitor 182 How to Log in to MySQL 183 Creating Databases and Users 184 Creating the Database 184 Users and Privileges 184 Introduction to MySQL s Privilege System 185 Principle of... Functions 236 Freeing Up Resources 236 Creating and Deleting Databases 236 Other PHP- Database Interfaces 236 Using a Generic Database Interface: PEAR DB 237 Further Reading 240 Next 240 11 Advanced MySQL 241 Understanding the Privilege System in Detail 241 The user Table 242 The db and host Tables 243 The tables_priv and columns_priv Tables 244 Access Control: How MySQL Uses the Grant Tables 245 Updating . are a PHP newbie or a veteran in search of a better desk-side reference, this one is sure to please!” —WebDynamic “The true PHP/ MySQL bible, PHP and MySQL Web Development by Luke Welling and Laura. 46290 DEVELOPER’S LIBRARY Luke Welling Laura Thompson Second Edition 00 525x fm 1/24/03 2:56 PM Page iii PHP and MySQL Web Development Second Edition Copyright  2003 by Sams Publishing All rights. Authentication with PHP and MySQL 293 15 Implementing Secure Transactions with PHP and MySQL 315 00 525x fm 1/24/03 2:56 PM Page vi IV Advanced PHP Techniques 16 Interacting with the File System and the

Ngày đăng: 01/06/2014, 11:06

Từ khóa liên quan

Mục lục

  • PHP and MySQL Web Development

  • Copyright

  • Table of Contents

  • Introduction

  • Part I: Using PHP

    • Chapter 1: PHP Crash Course

    • Chapter 2: Storing and Retrieving Data

    • Chapter 3: Using Arrays

    • Chapter 4: String Manipulation and Regular Expressions

    • Chapter 5: Reusing Code and Writing Functions

    • Chapter 6: Object-Oriented PHP

    • Part II: Using MySQL

      • Chapter 7: Designing Your Web Database

      • Chapter 8: Creating Your Web Database

      • Chapter 9: Working with Your MySQL Database

      • Chapter 10: Accessing Your MySQL Database from the Web with PHP

      • Chapter 11: Advanced MySQL

      • Part III: E-commerce and Security

        • Chapter 12: Running an E-commerce Site

        • Chapter 13: E-commerce Security Issues

        • Chapter 14: Implementing Authentication with PHP and MySQL

        • Chapter 15: Implementing Secure Transactions with PHP and MySQL

        • Part IV: Advanced PHP Techniques

          • Chapter 16: Interacting with the File System and the Server

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan