xampp import large db file Get link Facebook Twitter Pinterest Email Other Apps - October 22, 2019 C:\xampp\mysql\bin>mysql -h localhost -u root {DATABASE_NAME} < PATH/SQL/FILE Get link Facebook Twitter Pinterest Email Other Apps Comments
Blogger post using PHP API - March 31, 2017 <?php error_reporting(E_ALL); ini_set('display_errors',1); session_start(); require_once dirname(__FILE__) . '/GoogleClientApi/src/Google/autoload.php'; require_once dirname(__FILE__).'/GoogleClientApi/src/Google/Client.php'; require_once dirname(__FILE__).'/GoogleClientApi/src/Google/Service.php'; require_once dirname(__FILE__).'/GoogleClientApi/src/Google/Model.php'; require_once dirname(__FILE__).'/GoogleClientApi/src/Google/Collection.php'; require_once dirname(__FILE__).'/GoogleClientApi/src/Google/Config.php'; require_once dirname(__FILE__).'/GoogleClientApi/src/Google/Service/Resource.php'; require_once dirname(__FILE__).'/GoogleClientApi/src/Google/Service/Blogger.php'; //echo '<pre>'; $scriptUri = "<redirect url>"; $client = new Google_Client(); $client->setAccessType('online'); // default: offline $client->setApplicationName('<appName Read more
Pin payment laravel - July 12, 2017 use Omnipay\Omnipay; use Omnipay\Common\GatewayFactory; $load = new GatewayFactory(); $gateway= $load->create('Pin'); $gateway->initialize(array( 'secretKey' => 'your key', 'testMode' => true, )); $card = array('number' => '4200000000000000', 'expiryMonth' => '6', 'expiryYear' => '2019', 'cvv' => '123','name'=>'name ','address1'=>'address','city'=>'city','country'=>'india'); $response=$gateway->purchase([ 'email' => 'customer@email.com', 'description' => 'Widgets', 'amount' => '20.00', 'currency' => 'USD', 'card' => $card, 'ip_address' => $_SERVER['REMOTE_ADDR'] ])->send(); if ($response-> Read more
Comments
Post a Comment