by Shashi Dhar Kumar | Jun 24, 2019 | Payment Gateway, PHP
HOW DO PAYMENT GATEWAYS WORK TECHNICALLY? e-Commerce Transaction Online Payment ProcessPayment Gateway Process – A payment gateway is a merchant service provided by an e-commerce application service provider that authorizes credit card or direct payments...
by Shashi Dhar Kumar | Aug 6, 2018 | CodeIgniter, HTACCESS, Magento, Open-Source, PHP, Programming, WordPress
How to group group Security for web application using htaccess? Group Security Headers htaccess X-XSS-Protection sets the configuration for the cross-site scripting filters built into most browsers. The best configuration is “X-XSS-Protection: 1;...
by Shashi Dhar Kumar | Oct 3, 2017 | Magento, Open-Source, PHP, Programming
Remove decimal value product price Magento Price of product is : 135.00USD => 135USD How to remove decimal value from product price in magento? In order to remove decimal digits in price of product magento, we need to custom some code :Go to this file :...
by Shashi Dhar Kumar | Sep 3, 2017 | CakePHP, PHP, Programming
How to redirect from non-www to www in CakePHP? Put the following code into .htaccess in main directory RewriteCond %{HTTPS} !=on RewriteCond %{HTTP_HOST} !^www\..+$ [NC] RewriteCond %{HTTP_HOST} !=localhost [NC] RewriteCond %{HTTP_HOST} !=127.0.0.1 RewriteRule ^...
by Shashi Dhar Kumar | Aug 10, 2015 | Magento, Open-Source, PHP, Programming
Here is the example code by which you can get last order details into mangento of using email id. $_customer = Mage::getModel(‘customer/customer’); $_customer->loadByEmail(‘demo@demo.com’); $orders =...
by Shashi Dhar Kumar | May 18, 2014 | HTACCESS, JavaScript, MySQL, Open-Source, PHP, Ubuntu, Unix OS, Windows
What is Security? Fundamentally, security is not about perfectly secure systems. Such a thing might well be impractical, or impossible to find and/or maintain. A secure server protects the privacy, integrity, and availability of the resources under the server...