Blog

Page 504 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for Check whether a request is GET or POST

Check whether a request is GET or POST

Published on September 2, 2023

šŸ“ **Blog Post: Check Whether a Request is GET or POST** šŸ‘‹ Hey there, fellow tech enthusiasts! Today, we'll tackle a common question that often arises when working with server-side scripts: how do we check whether a request is made using the GET or POST

Cover Image for "date(): It is not safe to rely on the system"s timezone settings..."
timezone

"date(): It is not safe to rely on the system"s timezone settings..."

Published on September 2, 2023

# šŸ•’ "date(): It is not safe to rely on the system's timezone settings..." šŸ•’ Do you love playing around with PHP and creating amazing things? šŸš€ Well, in the process, you might have encountered this pesky error message: ``` Warning: date(): It is not s

Cover Image for List of Big-O for PHP functions
algorithmarraysperformance

List of Big-O for PHP functions

Published on September 2, 2023

# šŸ“ The Big-O Cheat Sheet for PHP Functions If you've been using PHP for a while, you might have noticed that not all built-in PHP functions perform as fast as you expected. In some cases, the speed of a function can vary depending on the size of the dat

Cover Image for php create object without class

php create object without class

Published on September 2, 2023

šŸ“ **Blog Post: Creating Objects Without Classes in PHP** šŸ‘‹ Hey there, fellow tech enthusiasts! šŸ‘©ā€šŸ’»šŸ‘Øā€šŸ’» Are you tired of the traditional way of creating objects using classes in PHP? Want to explore a more flexible and unconventional approach? šŸ¤” Well

Cover Image for Javascript Equivalent to PHP Explode()
javascriptstring

Javascript Equivalent to PHP Explode()

Published on September 2, 2023

# šŸ’„ JavaScript Equivalent to PHP Explode() Are you tired of searching for a JavaScript equivalent to PHP's explode() function? Look no further! In this guide, we'll explore how to effectively split a string in JavaScript, like how it works in PHP. By the

Cover Image for psql: FATAL: Peer authentication failed for user "dev"

psql: FATAL: Peer authentication failed for user "dev"

Published on September 2, 2023

šŸ“ Easy Solutions to the "psql: FATAL: Peer authentication failed for user 'dev'" Error šŸš«šŸ”‘ So, you've encountered the frustrating "psql: FATAL: Peer authentication failed for user 'dev'" error while trying to log in to your PostgreSQL database as the us

Cover Image for Convert seconds to Hour:Minute:Second
time

Convert seconds to Hour:Minute:Second

Published on September 2, 2023

šŸ“ Converting Seconds to Hour:Minute:Second: A Handy Guide šŸ•°ļø Have you ever found yourself scratching your head, trying to convert a seemingly simple value of seconds into a more human-readable format like "Hour:Minute:Second"? We've got you covered! In

Cover Image for PHP shell_exec() vs exec()
commandshell

PHP shell_exec() vs exec()

Published on September 2, 2023

# **PHP shell_exec() vs exec(): Demystifying the Differences** šŸ“¢ Hey there, tech enthusiasts! šŸ‘‹ Welcome to another exciting blog post where we unravel the mysteries of PHP functions! šŸš€ Today, we're diving deep into the world of `shell_exec()` and `exec

Cover Image for How to get body of a POST in php?

How to get body of a POST in php?

Published on September 2, 2023

# How to Get the Body of a POST in PHP? šŸ“± So, you have made a POST request to a PHP page and you are wondering how to extract the body of the request in PHP. šŸ¤” Don't worry, I've got you covered! In this blog post, I'll guide you through the common issue

Blog | Matheus Mello