SSL certificate problem: unable to get local issuer certificate

If you are getting a SSL error while using cURL on localhost, similar to SSL certificate problem: unable to get local issuer certificate We have solution for this. Go to: https://curl.haxx.se/ca/cacert.pem and save it in you www folder And add this line in php.ini curl.cainfo = “[C:/folder/cacert.pem” eg:curl.cainfo = “C:/wamp/www/cacert.pem” Make sure you have saved […]

HDFC Payment Gateway Integration

FSS NET HDFC Gateway Integration services is also available. HDFC is one the leading banks in India that has been quite popular for implementing e-commerce solutions. It will be among the first companies that will be providing easy services for its consumers, merchants and banks. HDFC’s payment gateway integration will be acting as an effective […]

CCAvenue Payment Gateway Integration

CCAvenue is one of the first leading companies that conveys a platform for e-merchants, providing as the one stop solution for the processing of transactions that are mainly based on e-commerce levels. CC Avenue gateway provides multiple advantages that include easy credit card transactions or even debit transactions from the respective bank accounts. CCAvenue provides […]

Difference between two dates in php

Get First Day from Request: $originalDate = $_REQUEST[‘date’]; $newDate = date(“Y-m-d”, strtotime($originalDate)); Get Second Day from Request: $endDate = $_REQUEST[‘date2’]; $toDate = date(“Y-m-d”, strtotime($endDate)); Get Difference between days: $date_diff = (strtotime($toDate)- strtotime($newDate))/24/3600;