Developer Encyclopedia

Learn to Code — CodePrimer

A classroom encyclopedia of HTML5, CSS3, JavaScript, PHP 8, SQL, and Laravel. Search a guide, then follow the learning path from beginner to advanced.

Clear
Popular:

Tag filter: #security Remove

Showing 10 of 291 guides

HTML5 Intermediate

Sandboxed iframes

How do I embed a page without giving it your site privileges?

Media & Performance 8 min
HTML5 Intermediate

Hidden Fields and What Not to Trust

What is a hidden input for, and what must the server ignore?

Accessible Forms 6 min
JavaScript Intermediate

textContent versus innerHTML and XSS

When is innerHTML dangerous, and what should I use instead?

DOM & Async 8 min
PHP 8 Intermediate

$_POST, Output Escaping, and XSS Prevention

How do I read a POST form and escape it before HTML?

HTTP & Files 9 min
PHP 8 Intermediate

password_hash and password_verify

How do I store a password so a database leak is not the password?

PDO & Security 8 min
PHP 8 Intermediate

password_needs_rehash

How do I upgrade a stored password hash when the algorithm changes?

PDO & Security 6 min
PHP 8 Beginner

PHP comparison operators

What is == vs === in PHP?

Basics 1 min
PHP 8 Intermediate

Sanitize and validate input

How do I protect against XSS and bad emails?

Security 1 min
Laravel Advanced

Laravel Rate Limiting

How do I throttle a login or search endpoint?

Auth & Jobs 8 min
Laravel Advanced

Laravel Signed URLs

How do I share a temporary lesson link that fails if someone edits the query?

Auth & Jobs 6 min

Need more coins?

You do not have enough coins for this action.

Your balance: 0 coins

Share

Reactions

Loading reactions…