Topics
PHP
About this topic: Articles tagged __TAG__
Showing 345 articlesRelated tags
Topics
Articles
Showing 345 articles
How-tos
How to Create a Webhook in PHP
Build a PHP endpoint that receives a webhook POST, validates its JSON payload, and can be tested locally.
↗
How-tos
How to Check for Numerical Characters in PHP
Learn how PHP digit, pattern, numeric-string, and integer checks differ, and choose the rule that matches your input.
↗
How-tos
How to Get Headers in PHP
Learn how to retrieve response headers for a URL and request headers received by a PHP server.
↗
How-tos
How to Convert a String Into an Array in PHP
Learn how to convert a PHP string into an array: use explode() to split on a delimiter such as a comma, or str_split() to cut the string into fixed-size chunks.
↗
How-tos
How to Get Time Zone in PHP
This tutorial demonstrates how to work with time zones in PHP using built-in functions. Learn how to retrieve the default time zone, set a custom one, and use an explicit time zone …
↗
How-tos
The utf8_encode Function in PHP
This article introduces the utf8_encode function in PHP, explaining its purpose in converting ISO-8859-1 encoded strings to UTF-8. Learn how to use this function effectively with …
↗
How-tos
How to Get the Current Full URL in PHP
This tutorial introduces how to get the current URL in PHP
↗
How-tos
How to Get User IP Address in PHP
This tutorial demonstrates how to get the user's IP address in PHP
↗
How-tos
How to Get JSON Object From URL in PHP
This tutorial introduces how to get JSON object from URL in PHP
↗
How-tos
Date Format in PHP for Insertion in MySQL
This article will introduce how to format date in PHP, before inserting it to MySQL.
↗
How-tos
How to Achieve Multithreading in PHP
Compare PHP threads with the parallel extension and separate processes started by popen().
↗
How-tos
Object Operator in PHP
Learn how PHP's object operator (->) reads and assigns object properties, calls methods, and handles dynamic property names, visibility, and missing properties.
↗
How-tos
How to Extract Numbers From a String in PHP
This article introduces how to extract numbers from a string in PHP. It includes preg_match_all() function, filter_var() function and preg_replace() function.
↗
How-tos
How to Replace String in PHP
This article introduces how to replace part of a string in PHP using the str_replace() function. Learn the syntax, explore practical examples, and discover tips for effective …
↗
How-tos
PHP ini_set Memory Limit
Choose a script-level or shared PHP memory limit, inspect the effective value, and verify the change.
↗
How-tos
How to Read Text Files in PHP
Learn three practical ways to read text files in PHP, with examples and guidance on memory use and line endings.
↗
How-tos
How to Find Root Directory Path in PHP
This tutorial introduces how to find the root directory path of the PHP project
↗
How-tos
How to Get Yesterday's Date in PHP
It introduces how to get yesterday's date in PHP.
↗
How-tos
How to Remove Duplicate Values From an Array in PHP
This article introduces how to remove duplicate values from an array in PHP. It includes array_unique() function.
↗
How-tos
How to Delete Database in PHPMyAdmin
This tutorial introduces how to delete the database in phpMyAdmin
↗
How-tos
How to Create Countdown Timer in PHP
This tutorial will introduce how to create a countdown timer in PHP
↗
How-tos
PHP Socket IO
This tutorial demonstrates how to implement socket.io in PHP.
↗
How-tos
How to Get Time Difference in Minutes in PHP
Learn how to calculate elapsed minutes and calendar date differences in PHP with DateTimeImmutable, date_diff(), and strtotime().
↗
How-tos
How to Write Multi-Line Strings in PHP
Learn to write multiline PHP strings with heredoc, nowdoc, newline escapes, and PHP_EOL.
↗
No articles found
Try clearing the filters.