PHP Classes

File: sample_parser.php

Recommend this page to a friend!
  Classes of Jimmi   JAK8583   sample_parser.php   Download  
File: sample_parser.php
Role: Example script
Content type: text/plain
Description: Sample code for parser
Class: JAK8583
Generate and parse ISO 8583 transaction messages
Author: By
Last change:
Date: 15 years ago
Size: 367 bytes
 

Contents

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

$iso = '0800822000000000000004000000000000000516063439749039301';

$jak = new JAK8583();

//add data
$jak->addISO($iso);


//get parsing result
print 'ISO: '. $iso. "\n";
print
'MTI: '. $jak->getMTI(). "\n";
print
'Bitmap: '. $jak->getBitmap(). "\n";
print
'Data Element: '; print_r($jak->getData());



?>