Login   Register  
PHP Classes
elePHPant
Icontem

File: sample_builder.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jimmi  >  JAK8583  >  sample_builder.php  >  Download  
File: sample_builder.php
Role: Example script
Content type: text/plain
Description: Sample code for builder
Class: JAK8583
Generate and parse ISO 8583 transaction messages
Author: By
Last change:
Date: 5 years ago
Size: 251 bytes
 

Contents

Class file image Download
<?php
include_once('JAK8583.class.php');

$jak    = new JAK8583();

//add data
$jak->addMTI('0800');
$jak->addData(7date("mdHis"));
$jak->addData(11rand(1000999999));
$jak->addData(70'301');

//get iso string
print $jak->getISO();
?>