Fix some typos

This commit is contained in:
=
2012-07-08 00:12:19 -04:00
parent 49416d667d
commit dc87d70598
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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.