Blog

Articles about web development, AI automation, and modern tech.

PHP: How to fix Image rotation issue in img tag because of EXIF?

Photos captured by some smartphones especially iPhones are automatically rotated when we use it in <img> tag which is mostly not acceptable as we don’t need such unwanted rotation. This happens...

September 24, 2024

How to remove index.php from codeigniter in UBUNTU?

This tutorial will show you that how to remove index.php from codeigniter in UBUNTU or how to enable url rewriting. Step 1 : Add this in htaccess file <IfModule mod_rewrite.c> RewriteEngine On...

September 24, 2024

How to Integrate Google AdSense with Next.js Using Environment Variables

How to Integrate Google AdSense with Next.js Using Environment Variables

Are you eager to start monetizing your Next.js website with Google AdSense? It's easier than you might think! In this guide, we'll walk you through the simple process of integrating AdSense into your...

September 25, 2024

How to lock screen orientation to portrait or landscape?

This article will show you how to lock screen orientation to one direction.Environment Details:– Phonegap Build – cli-5.2.0– Device: iPhone S5 9.3.2For locking orientation to portrait add followi...

September 24, 2024

Todo App in Angular 8 and Angular Material - Part 8 - Angular Tutorial

Todo App in Angular 8 and Angular Material - Part 8 - Angular Tutorial

Todo App in Angular 8 and Angular Material - Part 8: Advanced Styling and CategoriesWelcome to Part 8 of our comprehensive Angular Material Todo App tutorial series. In this episode, we'll focus on en...

December 8, 2024

How to Change Bootstrap Carousel Slide Speed?

The speed cannot be controlled by the API. Though you can modify CSS that is in charge of that. find in the bootstrap.css file:.carousel-inner > .item { position: relative; display: none;...

September 24, 2024

PHP: How to run / execute a script in the background forever through SSH ?

You can execute a php script in the background forever by using SSH through PHP but for that you have to make sure first that SSH2 extension is available.PHP DOCS: http://www.php.net/manual/en/fu...

September 24, 2024

How to Validate Checkbox Selection in Angular 17 Using Standalone Components

How to Validate Checkbox Selection in Angular 17 Using Standalone Components

In this article, we'll walk through how to validate checkboxes in Angular 17 using standalone components. This tutorial is also available as a YouTube video, which you can watch here: Let's dive in a...

September 25, 2024

SSH: how to run a PHP script in background forever in Linux (CentOS) ?

If you want to run a PHP script in the background forever through SSH then follow these steps:If you are using a SSH terminal (PuTTY) then directly run following command:// Notice '&'; that o...

September 24, 2024