How to Remove index.php from URL in CodeIgniter


CodeIgniter uses the segment-based approach to design URLs human-friendly or seo-friendly. By default, the index.php file will be included with the URLs in CodeIgniter. But you can easily remove the index.php from the URL using .htaccess.


How to Install PHP GD Support on Windows Server


The GD library is required to create and manipulate images in PHP. You need to enable GD library support for working with image functions in PHP. Here we’ll show you how to install GD library in PHP on Windows server. Follow the step-by-step instruction to install PHP GD library in XAMPP or WAMP server.


How to Monitor Ajax Requests in Chrome


At the time of working with Ajax in the web application, request monitoring is very useful. Monitoring Ajax requests on browser makes easy to debug Ajax call. This short guide will help you to see ajax requests and monitor ajax calls in Google Chrome.


How to Make Phone Number Clickable on Mobile Devices


Most of the business puts their contact number on their website. The clickable phone number is very useful when the user browsing the website from a mobile device. Click To Call link helps to dial the phone number directly from the website by one click.


How to Disable Click Event using jQuery


Perhaps you were faced with a common problem when you’re using jQuery Ajax to submit a form, the form data is submitted multiple times if the submit button is clicked multiple times. To solve this issue you only need to write one line code in jQuery.


How to Filter Array by Value in PHP


PHP array_filter() function filters elements of an array using a callback function and returns the filtered array. Here we’ll provide a short PHP code snippets to filter elements of an array that contain a specific value. It will help you to filter an array based on particular condition.


How to Calculate Age from Date of Birth in PHP


Some web applications are needed to show the age of the user. In that case, you need to calculate the user age from date of birth. Use date(), date_create(), and date_diff() functions to calculate age from date of birth in PHP.


How to Add Hours to JavaScript Date Object


JavaScript setHours() method sets the hour of a date object. JavaScript getHours() method returns the hour (from 0 to 23) of the specified date and time. Using JavaScript setHours() and getHours() method you can easily add hours to Date object.


How to Configure PayPal Auto Return and Payment Data Transfer on Business Account


After payment, the buyer needs to redirect to success page of the merchant website. In that page, payment data with status should be shown to the buyers. To redirecting buyer with payment data automatically, some configuration is needed on the PayPal business account.


CONNECT WITH CODEXWORLD