PHP and MySQL the missing manual second edition

548 663 0
PHP and MySQL the missing manual 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

Tài liệu về học lập trình web bằng ngôn ngữ PHP cho tất cả mọi người.

[...]... Windows Vista: The Missing Manual by David Pogue Windows 7: The Missing Manual by David Pogue Windows 8: The Missing Manual by David Pogue Word 2007: The Missing Manual by Chris Grover WordPress: The Missing Manual by Matthew MacDonald Your Body: The Missing Manual by Matthew MacDonald Your Brain: The Missing Manual by Matthew MacDonald Your Money: The Missing Manual by J.D Roth x The Missing Credits... Elements 8: The Missing Manual by Chris Grover The Missing Credits ix QuickBase: The Missing Manual by Nancy Conner QuickBooks 2013: The Missing Manual by Bonnie Biafore Quicken 2009: The Missing Manual by Bonnie Biafore Switching to the Mac: The Missing Manual, Snow Leopard Edition by David Pogue Switching to the Mac: The Missing Manual, Lion Edition by David Pogue Wikipedia: The Missing Manual by John... FileMaker Pro 12: The Missing Manual by Susan Prosser and Stuart Gripman Flash CS5.5: The Missing Manual by Chris Grover Galaxy S II: The Missing Manual by Preston Gralla Galaxy Tab: The Missing Manual by Preston Gralla Google Apps: The Missing Manual by Nancy Conner Google SketchUp: The Missing Manual by Chris Grover HTML5: The Missing Manual by Matthew MacDonald iMovie ’11 & iDVD: The Missing Manual by David... Fire: The Missing Manual, Second Edition by Peter Meyers Living Green: The Missing Manual by Nancy Conner Mac OS X Snow Leopard: The Missing Manual by David Pogue Mac OS X Lion: The Missing Manual by David Pogue Microsoft Project 2010: The Missing Manual by Bonnie Biafore Motorola Xoom: The Missing Manual by Preston Gralla Netbooks: The Missing Manual by J.D Biersdorfer NOOK Tablet: The Missing Manual. .. Pogue and Aaron Miller iPad: The Missing Manual, Fifth Edition by J.D Biersdorfer iPhone: The Missing Manual, Sixth Edition by David Pogue iPhone App Development: The Missing Manual by Craig Hockenberry iPhoto ’11: The Missing Manual by David Pogue and Lesa Snider iPod: The Missing Manual, Eleventh Edition by J.D Biersdorfer and David Pogue JavaScript & jQuery: The Missing Manual by David Sawyer McFarland... Office 2010: The Missing Manual by Nancy Connor, Chris Grover, and Matthew MacDonald Office 2011 for Macintosh: The Missing Manual by Chris Grover Palm Pre: The Missing Manual by Ed Baig Personal Investing: The Missing Manual by Bonnie Biafore Photoshop CS6: The Missing Manual by Lesa Snider Photoshop Elements 11: The Missing Manual by Barbara Brundage PowerPoint 2007: The Missing Manual by E.A Vander Veer... can handle HTML on its own, but it has to make a request to a web server to deal with PHP scripts That server can take your PHP scripts and run them, and then take the response and send it back to your browser Your browser can then understand and handle the response So, Figure 1-4 adds a couple of new wrinkles: the PHP interpreter, the magical thing that takes the PHP scripts you’ll be writing and does... Appendixes Although the first several chapters show you how to get PHP and MySQL onto your own Macintosh or Windows-based computer the easy way, using the WampServer software package or the Mac’s built-in installation, the two appendixes in this section show you how to install the software manually for full control of all the details At the Missing Manual website (www.missingmanuals.com/cds/phpmysqlmm2e),... case of PHP, passes the PHP request on to the PHP interpreter 3 The PHP interpreter does what it’s supposed to: it interprets, or runs, the PHP The result of that should be something that a browser can understand, like HTML It passes this result, or response, back to the web server 4 The web server gives the browser back something that the browser can understand: the HTML result of interpreting a PHP script,... What PHP and MySQL Can Do PHP can handle payment processing on its own, and it can connect with services like PayPal and Google Checkout PHP can store and load images from a database or a file system and give you the ability to log users in and out as well as control what they see throughout your application Add in MySQL, and you can store your users’ names, addresses, billing data, and even their

Ngày đăng: 24/01/2014, 16:16

Từ khóa liên quan

Mục lục

  • The Missing Credits

  • Introduction

  • Part One: PHP and MySQL Basics

    • Chapter 1: PHP: What, Why, and Where?

      • PHP Comes in Two Flavors: Local and Remote

      • PHP: Going Local

      • Write Your First Program

      • Run Your First Program

      • But Where’s That Web Server?

    • Chapter2: PHP Meets HTML

      • Script or HTML?

      • PHP Talks Back

      • Run PHP Scripts Remotely

    • Chapter 3: PHP Syntax: Weird and Wonderful

      • Get Information from a Web Form

      • Working with Text in PHP

      • The $_REQUEST Variable Is an Array

      • What Do You Do with User Information?

    • Chapter 4: MySQL and SQL: Database and Language

      • What Is a Database?

      • Installing MySQL

      • SQL Is a Language for Talking to Databases

  • Part Two: Dynamic Web Pages

    • Chapter 5: Connecting PHP to MySQL

      • Writing a Simple PHP Connection Script

      • Cleaning Up Your Code with Multiple Files

      • Building a Basic SQL Query Runner

    • Chapter 6: Regular Expressions

      • String Matching, Double-Time

    • Chapter 7: Generating Dynamic Web Pages

      • Revisiting a User’s Information

      • Planning Your Database Tables

      • Saving a User’s Information

      • Show Me the User

      • Revisiting (and Redirecting) the Create User Script

  • Part Three: From Web Pages to Web Applications

    • Chapter 8: When Things Go Wrong (and They Will)

      • Planning Your Error Pages

      • Finding a Middle Ground for Error Pages with PHP

      • Add Debugging to Your Application

      • Redirecting On Error

    • Chapter 9: Handling Images and Complexity

      • Images Are Just Files

      • Images Are for Viewing

      • And Now for Something Completely Different

    • Chapter 10: Binary Objects and Image Loading

      • Storing Different Objects in Different Tables

      • Inserting a Raw Image into a Table

      • Your Binary Data Isn’t Safe to Insert...Yet

      • Connecting Users and Images

      • Show Me the Image!

      • Embedding an Image Is Just Viewing an Image

      • So, Which Approach Is Best?

    • Chapter 11: Listing, Iterating, and Administrating

      • Thinking about What You Need as an Admin

      • Listing All Your Users

      • Deleting a User

      • Talking Back to Your Users

      • Standardizing on Messaging

      • Integrating Utilities, Views, and Messages

  • Part Four: Security and the Real World

    • Chapter 12: Authentication and Authorization

      • Basic Authentication

      • Abstracting What’s the Same

      • Passwords Don’t Belong in PHP Scripts

      • Passwords Create Security, But Should Be Secure

    • Chapter 13: Cookies, Sign-Ins, and Ditching Crummy Pop-Ups

      • Moving Beyond Basic Authentication

      • Logging In with Cookies

      • Adding Context-Specific Menus

    • Chapter 14: Authorization and Sessions

      • Modeling Groups in Your Database

      • Checking for Group Membership

      • Group-Specific Menus

      • Entering Browser Sessions

      • Memory Lane: Remember That Phishing Problem?

      • Why Would You Ever Use Cookies?

  • Part Five: Appendixes

    • Appendix A: Installing PHP on Windows Without WAMP

    • Appendix B: Installing MySQL Without MAMP or WAMP

  • Index

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

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

Tài liệu liên quan