Posts Tagged with 'PHP'

First page link: Prevent Form Submission if Username and Password Are Empty Using JavaScript Sure! Let’s extend the form validation example to include PHP code for form submission. We’ll still use JavaScript to prevent submission if …

Last updated 2 weeks, 3 days ago | 26 views

Tags:- JQuery PHP

Second page link: Secure Your Forms with Google reCAPTCHA v2 in PHP: Step-by-Step Guide Perfect! Here's a complete guide on integrating Google reCAPTCHA v2 with AJAX-based form submission in PHP — for better user experience and …

Last updated 2 weeks, 4 days ago | 29 views

Tags:- PHP Ajax CAPTCHA

First page link: Protecting Forms Using a CAPTCHA in PHP: A Complete Guide Great! Here's a detailed article on how to integrate Google reCAPTCHA v2 in a PHP form: Secure Your Forms with Google reCAPTCHA v2 …

Last updated 2 weeks, 4 days ago | 32 views

Tags:- PHP CAPTCHA

One of the most common security challenges in web development is preventing bots and spam from abusing your forms. CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) is a powerful solution …

Last updated 2 weeks, 4 days ago | 34 views

Tags:- PHP CAPTCHA

How to Remove Special Characters from a String in PHP (With Full Examples) Removing special characters from strings is a common requirement in PHP when handling user inputs, sanitizing file names, creating SEO-friendly URLs, or …

Last updated 2 weeks, 4 days ago | 26 views

Tags:- PHP

Google reCAPTCHA is one of the most effective tools to protect your forms from bots and spam. If you're building forms in CodeIgniter, integrating reCAPTCHA helps improve security without compromising the user experience. This article …

Last updated 2 weeks, 4 days ago | 33 views

Tags:- PHP CodeIgniter Google reCAPTCHA

How to Extend CodeIgniter Session Expiration Time (Complete Guide) Sessions are crucial for managing user login states, preferences, and temporary data in web applications. In CodeIgniter, session expiration is configurable, but many developers find it …

Last updated 2 weeks, 5 days ago | 38 views

Tags:- PHP CodeIgniter

Accessing CodeIgniter Super Object from External PHP Script (Outside CodeIgniter) Sometimes, you may need to access CodeIgniter's core features — such as models, libraries, or configuration — from a standalone PHP script that’s not within …

Last updated 2 weeks, 5 days ago | 28 views

Tags:- PHP CodeIgniter

Infinite scrolling or scroll-based content loading is a modern technique used to enhance user experience by loading more content as the user scrolls down the page — popularized by social media platforms like Facebook, Twitter, …

Last updated 2 weeks, 5 days ago | 33 views

Tags:- PHP Ajax PHP-MySQL

Working with dates is a common task in web development, and sometimes, you may need to display the year in a 2-digit format (like 24 instead of 2024) in PHP. In this article, we'll walk …

Last updated 3 weeks, 5 days ago | 57 views

Tags:- PHP

When working with PHP, there are situations where you may want to trigger an external URL in the background without affecting the user experience. This can be useful for logging, API calls, or background processing …

Last updated 2 months ago | 165 views

Tags:- PHP

Introduction Filtering data by year and month is a common requirement in web applications. This article demonstrates how to achieve this in MySQL using PHP. ✅ Database Structure sales Table id product amount created_at 1 …

Last updated 2 months ago | 95 views

Tags:- PHP

Introduction In this article, we'll explore how to use the JOIN query in CodeIgniter's Active Record. We'll cover different types of joins, provide step-by-step explanations, code snippets, and conclude with a complete code example. Additionally, …

Last updated 2 months ago | 154 views

Tags:- PHP CodeIgniter

Introduction In this article, we'll explore how to count the occurrences of user_id in a database table, group the results, and display the top 10 users with the most entries using CodeIgniter's Active Record query …

Last updated 2 months ago | 83 views

Tags:- PHP CodeIgniter

Introduction Creating image thumbnails and caching them in CodeIgniter can significantly improve page loading times and reduce server load. This guide will show you how to achieve this using CodeIgniter’s Image Manipulation Class. ✅ Step …

Last updated 2 months, 1 week ago | 83 views

Tags:- PHP CodeIgniter