We use cookies to improve user experience, and analyze website traffic.

  • How To
  • AngularJs
  • Apache
  • CSS
  • Git
  • Google Maps
  • HTML
  • Java
  • JavaScript
  • Linux
  • NodeJs
  • PHP
  • Symfony
  • Vue.js
  • Books
    • Learn HTML
    • Learn CSS
    • Learn Git
    • Learn Javascript
    • Learn PHP
  • Exercises
    • HTML
    • JavaScript
    • Git
    • CSS
    • PHP
  • Quizzes
  • Snippets
  • Tools
  • String Functions
  • Books
    • Learn HTML
    • Learn CSS
    • Learn Git
    • Learn Javascript
    • Learn PHP
  • Exercises
    • HTML
    • JavaScript
    • Git
    • CSS
    • PHP
  • Quizzes
  • Snippets
  • Tools
  • String Functions
  1. Snippets
  2. ›
  3. PHP

How-to articles, tricks, and solutions about PHP

How to Use the filter_var() Function in PHP

Let’s dive deeper into the world of PHP. Here, we are going to discover the filter_var() function. Let’s see for what purposes it can be used in PHP.

php email url filter_var validate sanitize

How to Validate an Email with PHP

This tutorial explains how to validate an email using the PHP arsenal. Check out the examples of how to do that with the help of a PHP function and regex.

php validation email regex function

How to Validate URL with PHP

In this snippet, we provide guidelines on one of the most common issues in PHP. Here, we show the most straightforward way on how to validate URL with PHP.

php link validation regex url

Post Requests with cURL

cURL is applied for making requests with different protocols. A post request can send user collected data to a server. Find out how to do that accurately.

php http url curl post

What is the PHP Equivalent of .NET/Java's toString()?

Here is a short tutorial representing to you the most accurate PHP equivalent of .Net/Java’s to string. Read it carefully and check out the examples.

php tostring type casting

Where Does PHP Store Error Log

In this short tutorial, we are going to represent to you how to find where the PHP error log is located.

php error error log
<< < 2 3 4 5 6
Tools
Password Generator HTML Editor HTML encoder/decoder CSS Maker Color Picker Base 64 Code Diff Geometric Images Color Converter Color Mixer Color HEX COLOR HSL Color Hwb Color Cmyk Color Rgb
  • Quizzes
    • HTML Basic
    • CSS Basic
    • Javascript Basic
    • PHP basic
    • ES6 Basic
    • TypeScript Basic
    • Angular Basic
    • React Basic
    • Sass Basic
    • Vue.js Basic
    • Git Basic
    • SQL Basic
  • Snippets
    • How To JavaScript
    • How To NodeJs
    • How To Linux
    • How To AngularJs
    • How To PHP
    • How To HTML
    • How To CSS
    • How To Symfony
    • How To Google Maps
    • How To Git
    • How To Apache
    • How To Java
    • How To Vue.js
  • Our Books
    • Learn HTML
    • Learn CSS
    • Learn Git
    • Learn Javascript
    • Learn PHP
    • Exercises
    • HTML
    • JavaScript
    • Git
    • CSS
    • PHP
  • Our Tools
    • Website Audit and SEO
    • Typing Test
    • Color Picker
    • HTML Encoder
    • HTML Editor
    • CSS Maker
    • Password Generator
    • Base 64
    • Code Diff
    • Geometric Images
  • String Functions
    • String Length Calculator
    • String to MD5 Hash Generator
    • String to Sha256 Hash Generator
    • String Reverse
    • URL Encoder
    • URL Decoder
    • Base 64 Encoder
    • Base 64 Decoder
    • Extra Spaces Remover
    • String to Lowercase Converter
  • About Us
  • Privacy Policy for W3Docs
Follow Us
Company © W3docs. All rights reserved.