Password security
check() method
CheckPassword class
conditional statements
DOCTYPE declaration
encryption
filesize() function
fopen() modes
$errors array
getErrors() method
password_hash() function
password_verify() function
preg_match() method
requireMixedCase() method
trim() method
user registration system
password_verify() function
Perl-compatible regular expression (PCRE)
Photo gallery
CSS style rules
display image
DOCTYPE declaration
getimagesize() function
table cell
using MySQLi
dynamic elements (
see
Dynamic elements)
gallery_01.php coding
store images, database
thumbnails creation
PHP
advantage
associative array
basename() function
conditional statement
configuration settings
custom functions or classes
date() function
display_errors control
document-relative links
double extension
double-quoted string
download link creation
EDIT and DELETE link
editing php.ini
error control operator
error message
existence variables
features
file_exists() and is_readable()
File Explorer window
filename extension
footer.php and load index.php
functions/class definitions
get_filename.php
header() function
if else statement
include_once commands
include_path directive
individual programs
inserting new records
with MySQLi
with PDO
installations
local test environment
location
MAMP installations
menu.php and load index.php
multidimensional array
nest functions
ob_start() function
overview
phpsols
random image
random_image.php and index.php
reading and writing files (
see
Reading and writing files)
redirect error pages
require_once commands
script editor features
security
security risks
server-side includes
set_include_path()
site-root-relative path
static version of index.php
str_replace() function
superglobal arrays
testing and configuring MAMP
Apache and MySQL ports
testing and security
ucfirst() function
ucwords() function
ugly gap
updating record
with MySQLi
with PDO
url_include directive
URLs
virtual hosts
web server’s include_path
website supports
Parse error
RTF
PHP Data Objects (PDO)
column modification
connecting with
connection and database queries
count() function
image table
prepared statements
anonymous placeholders
bindColumn()
bindParam()
bindValue()
DOCTYPE declaration
execute() method
fetch() method
named placeholders
prepare() method
result set
rowCount() function
SELECT query
PHP Scripts
arithmetic operators
array definition
associative array
black box
Boolean values
combined arithmetic assignment operators
combined concatenation operator
commands/statements
comparison operators
complex numbers
conditional statements
custom-built function
data types
DateTime class
DateTimeZone object
doubleIt() function
double-quoted string
double quotes/single quotes
echo shortcut syntax
embedded language
empty array
error messages report
error-handling code
page blank
escape sequences
functions
half-measures/maybes
heredoc syntax
implicit Boolean values
increment (++) and decrement (--) operators
indenting code
indexed array
inspect arrays
join strings
logical operators
loops
multidimensional arrays
multi-line comments
object-oriented programming
passing argument
passing reference argument
Passing values functions
properties and methods
quick checklist
server-side language
single-line comment
single-quoted string
storage
superglobal arrays
switch statement
temporary variables
ternary operator
typographical error
variables and functions
assignment operator
naming variables
versatile loop
website
while and do while
Processing and validating user input
block emails
conditional statement
contact.php
foreach loop
isSuspect() function
client-side validation
mail() function
reusable script
conditional statement
$errors/$missing
foreach loop
labels
$missing/$errors
PHP conditional statement
processmail.php
self-processing form
sticky form fields creation
comments text area
echo command
htmlentities() function