May 2024
How To Create Login Signup In Php Mysqli
In your project folder create another folder and name it config In config folder create a file dbconnect.php and paste in the following code:
Apps To Mine Crypto On Your Phone
While there are apps that allow you to mine cryptocurrency on your phone, it’s important to understand that it’s generally not a very profitable way to earn crypto. This is because phone processors are much less powerful than dedicated mining rigs, and the amount of energy they use can quickly drain your battery. That said, […]
Websites To Buy Cryptocurrencies
There are several reputable websites where you can buy cryptocurrencies. Here are a few options to consider: Important Note: Before choosing a platform, it’s important to consider factors like fees, security measures, and the variety of cryptocurrencies they support. It’s also wise to do your own research on any website before trusting them with your […]
How To Intergrate M-Pesa Reverse Transaction With Your Website Php
In this tutorial Ill show you how to intergrate m-pesa reverse a transaction with your website in php1.Create a reverse transaction file and paste in the following code:<?php ?> 2.Create a callback file and paste in the below code:<?php $callbackResponse = file_get_contents(‘php://input’);$logFile = “reverse-transaction-callback-response.json”;$log = fopen($logFile, “a”);fwrite($log, $callbackResponse);fclose($log);
How To Intergrate M-Pesa Check Transaction Status With Your Website Php
In this tutorial Ill show you how to intergrate m-pesa check transaction status with your website in php1.Create a check transaction status file and paste in the following code:access_token;curl_close($curl); ?> 2.Create a callback file and paste in the below code:<?php $callbackResponse = file_get_contents(‘php://input’);$logFile = “transaction-status-response.json”;$log = fopen($logFile, “a”);fwrite($log, $callbackResponse);fclose($log);
How To Intergrate M-Pesa Check Balance With Your Website Php
In this tutorial Ill show you how to intergrate m-pesa check balance with your website in php1.Create a check balance file and paste in the following code:<?php/* access token */$consumerKey = ‘YgreYNuYW5xIVooFrZgIhQMvvBGr2Pe2’; //Fill with your app Consumer Key$consumerSecret = ‘699oGg0C1XdMoWOA’; // Fill with your app Secret $headers = [‘Content-Type:application/json; charset=utf8’];$access_token_url = ‘https://sandbox.safaricom.co.ke/oauth/v1/generate?grant_type=client_credentials’;$curl = curl_init($access_token_url);curl_setopt($curl, CURLOPT_HTTPHEADER, […]
How To Intergrate M-Pesa B2C With Your Website In Php
In this tutorial Ill show you how to intergrate m-pesa b2c with your website in php1.Create a b2c file and paste in the following code:<?php /* Urls */$access_token_url = ‘https://sandbox.safaricom.co.ke/oauth/v1/generate?grant_type=client_credentials’;$b2c_url = ‘https://sandbox.safaricom.co.ke/mpesa/b2c/v1/paymentrequest’; /* Required Variables */$consumerKey = ‘YgreYNuYW5xIVooFrZgIhQMvvBGr2Pe2’; # Fill with your app Consumer Key$consumerSecret = ‘699oGg0C1XdMoWOA’; # Fill with your app Secret$headers = [‘Content-Type:application/json; […]