Skip to content

PHP and MySQL: the Missing Manual

Best in textbook rentals since 2012!

ISBN-10: 1449325572

ISBN-13: 9781449325572

Edition: 2nd 2012

Authors: Brett McLaughlin

List price: $31.99
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

If you can build websites with CSS and JavaScript, this book takes you to the next level—creating dynamic, database-driven websites with PHP and MySQL. Learn how to build a database, manage your content, and interact with users through queries and web forms. With step-by-step tutorials, real-world examples, and jargon-free explanations, you’ll quickly discover the power of server-side programming.This second edition provides new code files and expanded coverage of local and server-side programming.The important stuff you need to know:Learn the language. Get up to speed on PHP and SQL syntax quickly.Gain new techniques. Take advantage of the all-new chapter on integrating PHP with HTML web…    
Customers also bought

Book details

List price: $31.99
Edition: 2nd
Copyright year: 2012
Publisher: O'Reilly Media, Incorporated
Publication date: 11/20/2012
Binding: Paperback
Pages: 546
Size: 7.05" wide x 9.09" long x 1.10" tall
Weight: 1.848
Language: English

Brett McLaughlin is a bestselling and award-winning non-fiction author. His books on computer programming, home theater, and analysis and design have sold in excess of 100,000 copies. He has been writing, editing, and producing technical books for nearly a decade, and is as comfortable in front of a word processor as he is behind a guitar, chasing his two sons and his daughter around the house, or laughing at reruns of Arrested Development with his wife. Brett spends most of his time these days on cognitive theory, codifying and expanding on the learning principles that shaped the Head First series into a bestselling phenomenon. He's curious about how humans best learn, why Star Wars was so…    

The Missing Credits
Introduction
PHP and MySQL Basics
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?
PHP Meets HTML
Script or HTML?
PHP Talks Back
Run PHP Scripts Remotely
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?
MySQL and SQL: Database and Language
What Is a Database?
Installing MySQL
SQL Is a Language for Talking to Databases
Dynamic Web Pages
Connecting PHP to MySQL
Writing a Simple PHP Connection Script
Cleaning Up Your Code with Multiple Files
Building a Basic SQL Query Runner
Regular Expressions
String Matching, Double-Time
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
From Web Pages to Web Applications
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
Handling Images and Complexity
Images Are Just Files
Images Are for Viewing
And Now for Something Completely Different
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 lnsert…Yet
Connecting Users and Images
Show Me the Image!
Embedding an Image Is Just Viewing an Image
So, Which Approach Is Best?
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
Security and the Real World
Authentication and Authorization
Basic Authentication
Abstracting What's the Same
Passwords Don't Belong in PHP Scripts
Passwords Create Security, But Should Be Secure
Cookies, Sign-Ins, and Ditching Crummy Pop-Ups
Moving Beyond Basic Authentication
Logging In with Cookies
Adding Context-Specific Menus
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?
Appendixes
Installing PHP on Windows Without WAMP
Installing MySQL Without MAMP or WAMP
Index