Here is a summary of mobile Internet bundles offered by MTN Zambia. For corrections and updates get in touch at Pencil Case Studios.
To access the data purchase menu use USSD code *335#
.
{ | |
"structure": { | |
"copy": [ | |
{ | |
"from": "/projects/hex-arch-laravel/app/lib/Contracts/Instances/InstanceInterface.php", | |
"to": "app/lib/Contracts/Instances/InstanceInterface.php" | |
}, | |
{ | |
"from": "/projects/hex-arch-laravel/app/lib/Contracts/Notification/CreatorInterface.php", | |
"to": "app/lib/Contracts/Notification/CreatorInterface.php" |
Event::listen('404', function() | |
{ | |
$username = URI::segment(1); | |
$user = User::where_username($username) | |
->where_type('account') | |
->first(); | |
if ($user != null) { | |
if ($user->username != '') { |
Here is a summary of mobile Internet bundles offered by MTN Zambia. For corrections and updates get in touch at Pencil Case Studios.
To access the data purchase menu use USSD code *335#
.
Here is a summary of mobile Internet bundles offered by Airtel Zambia.
To purchase data bundles, use USSD code *575#
and follow the instructions.
For corrections and updates get in touch at Pencil Case Studios.
Here is a summary of mobile Internet bundles offered by Zamtel. If you are like me and can never remember the USSD codes, feel free to use this as a reference.
To check how much data you have left on a bundle use USSD *323#
.
For corrections and updates get in touch at Pencil Case Studios.
<?php | |
$ussdRequest = json_decode(@file_get_contents('php://input')); | |
$ussdResponse = new stdclass; | |
if ($ussdRequest != NULL) | |
switch ($ussdRequest->Type) { | |
case 'Initiation': | |
$ussdResponse->Message = |
<?php | |
$ussdRequest = json_decode(@file_get_contents('php://input')); | |
if($ussdRequest != NULL); | |
$ussdResponse = new stdClass; | |
switch($ussdRequest->Type){ | |
case "Initiation": |
<?php | |
date_default_timezone_set('Africa/Nairobi'); | |
// set up db connection | |
include("connection.php") | |
$TenantTransactionId = $_GET["TransactionType"]; | |
$SESSIONID = $_GET["SESSIONID"]; | |
$SERVICECODE = $_GET["SERVICECODE"]; | |
$ApplicationID = $_GET["ApplicationID"]; | |
$USSD_string = $_GET["USSD_string"]; |
## Making a 32 bit version of Homestead | |
# Clone the settler repository to a directory | |
git clone https://github.com/laravel/settler.git Ubuntu32 | |
# In that directory edit the file called "Vagrantfile" to use a ubuntu 32 box instead of the 64 bit one | |
change this line: | |
config.vm.box = "ubuntu/trusty64" |
<?php | |
trait Gettable { | |
/** | |
* Retrieve private attributes. | |
* Attributes should be protected | |
* so they cannot be *set* arbitrarily. | |
* This allows us to *get* them as if they | |
* were public. |