Category Archives: PHP

PHP, which stands for Hypertext Preprocessor, is a widely-used open-source server-side scripting language primarily designed for web development. It was created by Danish-Canadian programmer Rasmus Lerdorf in 1994 and has since become one of the most popular programming languages for web development.

How to install mod_maxminddb on linux server and confiure firewall blocking

To install mod_maxminddb using yum, follow these steps (works for CentOS/RHEL 7+ systems): ✅ Step 1: Install EPEL (if not already) sudo yum install epel-release ✅ Step 2: Install dependencies sudo yum install git gcc make libmaxminddb libmaxminddb-devel httpd-devel ✅ Step 3: Clone and build mod_maxminddb git clone https://github.com/maxmind/mod_maxminddb.git cd mod_maxminddb ./configure make sudo make… Read More »

What is difference in Rest API and Graph QL

REST API and GraphQL are both technologies for building and consuming APIs, but they have significant differences in how they handle data and functionality. Here’s a comparison: 1. Data Fetching: REST API: Operates on fixed endpoints (e.g., /users, /users/123/posts). Each endpoint returns a predefined structure of data. Can result in over-fetching (getting more data than… Read More »

Woocommerce how to create custom api shipping method to display rates and tracking

Creating a custom API shipping method for WooCommerce involves implementing a custom shipping method class and leveraging WooCommerce’s hooks to integrate it. This process typically includes defining a new shipping method, calculating rates dynamically, and providing tracking data via an API. Below is a step-by-step guide to help you achieve this: 1. Set Up Your… Read More »

How to create Bigcommerce shipping plugin to get online rates from FedEx / UPS / USPS

Creating a BigCommerce shipping plugin to get real-time rates from FedEx, UPS, or USPS requires integration with their respective APIs and implementing the plugin within BigCommerce’s ecosystem. Here’s a step-by-step guide to help you: 1. Understand BigCommerce and Carrier APIs BigCommerce Developer Documentation Familiarize yourself with BigCommerce’s APIs and webhooks: BigCommerce Developer Documentation Carrier APIs… Read More »

FedEx Freight Shipping Rates with Different origin and billing address Rest API.

To implement FedEx Freight Shipping Rates with different origin and billing addresses using the FedEx REST API, you need to interact with the FedEx Rate API which supports freight shipments, including Freight LTL (Less than Truckload) services. This allows you to retrieve shipping rates while specifying separate origin (shipper) and billing addresses. Steps for Implementing… Read More »

Top E-Commerce Plugins to Boost Your Online Store

Boosting an online store’s performance and functionality is critical for enhancing user experience and increasing sales. There are numerous e-commerce plugins designed to help with everything from SEO and site speed to cart management and customer service. Here are some of the top e-commerce plugins you can integrate with your store to improve its performance:… Read More »

How to install imap php extension with Amazon Linux

To install the IMAP PHP extension on Amazon Linux, you can follow these steps: sudo yum groupinstall “Development Tools” sudo amazon-linux-extras install epel yum install epel-release sudo yum install libc-client-devel uw-imap-static openssl-devel sudo ln -s /usr/lib64/libc-client.a /usr/lib Desires to download the code for the version of PHP that it uses https://www.php.net/downloads.php. You must replace your php version in below file path.   cd ~ wget https://www.php.net/distributions/php-7.x.x.tar.gz OR cd ~… Read More »

How to prevent magento create order with such a potentially harmful or malformed billing address

The placeholder {{var this.getTemp%00lateFilter().filter(firstname)}} in Magento indicates an attempted injection attack or a misconfiguration. To prevent Magento from creating orders with such a potentially harmful or malformed billing address, you can implement several security measures: 1. Input Validation and Sanitization: Validate User Input: Ensure that all user inputs, including billing addresses, are validated. This means… Read More »