From dc87d705986af9ac236bebe35f872da704107dab Mon Sep 17 00:00:00 2001 From: = Date: Sun, 8 Jul 2012 00:12:19 -0400 Subject: [PATCH] Fix some typos --- _includes/input-filtering.md | 2 +- _includes/introduction.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/input-filtering.md b/_includes/input-filtering.md index 356baec..5102abc 100644 --- a/_includes/input-filtering.md +++ b/_includes/input-filtering.md @@ -1,6 +1,6 @@ # Input Filtering -Never ever (ever) trust foreign input introduced to your PHP code. That lead's to dark and dangerous places. Instead, always filter foreign input before you use it in your code. +Never ever (ever) trust foreign input introduced to your PHP code. That leads to dark and dangerous places. Instead, always filter foreign input before you use it in your code. PHP provides the `filter_var` and `filter_input` functions to help you do this. These two functions can sanitize text, verify formats (e.g. email addresses), and escape characters. diff --git a/_includes/introduction.md b/_includes/introduction.md index 9302660..e195676 100644 --- a/_includes/introduction.md +++ b/_includes/introduction.md @@ -1,6 +1,6 @@ # Introduction -There's a lot of bad information on the Web (I'm looking at you, W3Schools) that leads new PHP users astray, propagating bad practices and bad code. This must stop. _PHP: The Right Way_ easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative tutorials around the Web. +There's a lot of bad information on the Web (I'm looking at you, W3Schools) that leads new PHP users astray, propagating bad practices and bad code. This must stop. _PHP: The Right Way_ is an easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative tutorials around the Web. It is important to understand _there is no canonical way to use PHP_. That's the beauty of it. This website introduces new PHP developers to best practices, available options, and good information.