PHP

How to Add CSRF Token to AJAX Request

An example with simple steps to add CSRF protection by sending token to PHP via AJAX Request. ...

February 28th, 2024

Create Shortener to Convert Long URL to Short in JavaScript

An example to create URL shortener tool to convert a long URL to a short URL in JavaScript ...

February 21st, 2024

URI Shortener PHP Script

A thin code to learn how to create a URL Shortener tool in PHP script with database. ...

February 10th, 2024

Receive JSON POST in PHP

Creating examples to receive JSON POST in PHP by sending data from jQuery, JavaScript AJAX or PHP cURL. ...

February 4th, 2024

PHP Password Validation Check for Strength

The PHP code performs a basic password strength validation to make the password not predictable. ...

January 27th, 2024

PHP Send HTML Email

A different way of sending HTML-formatted content via emails with or without using libraries in PHP. ...

January 2nd, 2024

Upload and Display Image in PHP

An example for learning how to upload and display Image in PHP with server-side validation. ...

July 5th, 2023

PHP Upload Image to Database with MySql

A thin example of PHP upload image to a database in BLOB format and display the uploaded image to the UI. ...

June 28th, 2023

AJAX File Upload with Progress Bar using JavaScript

A JavaScript AJAX script to a file and track using a progress bar in the client side. ...

June 17th, 2023

PHP QR Code Generator with chillerlan-php-qrcode Library

An easy examples to build a PHP QR Code Generator tool using a simple chillerlan-php-qrcode Library. ...

June 15th, 2023

↑ Back to Top