Topics

PHP

About this topic: Articles tagged __TAG__

Showing 345 articles

Topics

Articles

Showing 345 articles

How-tos PHP 301 Redirect This tutorial demonstrates how to permanently redirect to a URL or domain using PHP and 301-redirect. Learn effective methods to manage your website's URL changes, preserve SEO … How-tos How to Get the PHP Version This article provides a concise guide on how to get the PHP version using the phpversion() and phpinfo() functions. Learn to check your PHP version effortlessly and understand the … How-tos How to Write to an Error Log File in PHP This tutorial demonstrates how to write to an error log file using the built-in function error_log() in PHP. Learn to log errors to custom files, send error notifications via … How-tos Magic Quotes in PHP In this article, we explore the addslashes() function in PHP, a critical tool for escaping special characters in user input. Learn its syntax, practical applications, and … How-tos How to Echo Tab in PHP This tutorial details how to use the echo statement and make use of escape sequences such as tab with it in PHP. Learn to format your output effectively for better readability and … How-tos PHP Shortcode This tutorial demonstrates how to use shortcodes in PHP, guiding you through creating basic and parameterized shortcodes. Learn best practices for implementing shortcodes … How-tos How to Escape Quotation in PHP This article provides a comprehensive guide on how to escape quotation marks in PHP. Learn effective methods like using a backslash and the addslashes() function to handle quotes … How-tos How to Start and Stop a Timer in PHP This article introduces how to start and stop a timer in PHP using the microtime() function. Learn practical examples and applications to enhance your PHP projects. Get insights on … How-tos How to Document Root in PHP Learn how to document root in PHP with our comprehensive guide. Discover various methods, including using $_SERVER, dirname(), realpath(), and path constants. Get practical code … How-tos How to Set End of Line in PHP With PHP_EOL This article explains how to set end of line in PHP using PHP_EOL, a constant that adapts to your operating system. Learn practical methods for using PHP_EOL in echo statements, … How-tos How to Remove PHP Extension With .Htacess File This article explains how to remove PHP extensions using the .htaccess file, improving your website's SEO and user experience. Discover effective methods like RewriteEngine and … How-tos How to Change PHP Version Using .htaccess File Discover how to change PHP version using the .htaccess file in this comprehensive guide. Learn the steps to modify your PHP settings effectively, troubleshoot common issues, and … How-tos The PHP shell_exec() and exec() Functions This article explores the PHP shell_exec() and exec() functions, detailing their differences, usage, and security considerations. Learn how to execute shell commands safely and … How-tos PHP Validate ExecutablePath in VSCode This tutorial demonstrates how to validate the PHP executable path in Visual Studio Code (VSCode). Learn effective methods to ensure your PHP setup is correctly configured, … How-tos How to Run PHP File From Command Line This tutorial explains how to run PHP files on the command line using specific commands. How-tos How to Find the PHP Ini File This tutorial explains how to locate and find the PHP ini (configuration) file. How-tos PHP Authenticate This tutorial demonstrates how to use basic HTTP authentication in PHP. How-tos How to Send Email Using Mail Form in PHP This tutorial demonstrates how to send emails through a mail form in PHP. How-tos How to Describe Database Table With Mysqli_query in PHP This article teaches you how to describe a database table using mysqli_query. We'll describe the table using the SQL DESCRIBE command. The result in the browser will look like what … How-tos How to Draw a Graph in PHP This article explains how you can create a graph using pChart in PHP. The first is a bar chart, the second is a spline chart, and the last is a histogram from MySQL. How-tos How to Set Up a PHP Interpreter This tutorial shows us how to set up a PHP interpreter on our local PC. How-tos How to Obtain and Read Data in PHP This tutorial explains how to obtain and read file content and data using built-in functions and decode JSON to arrays in PHP. How-tos How to Log Errors in PHP This tutorial explains how to log errors in PHP and incorporate it within your code. How-tos PHP Post Max Size This tutorial demonstrates how to increase the maximum post size in PHP.

← All topics