Login   Register  
PHP Classes
elePHPant
Icontem

File: sample_parser.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_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: 5 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());



?>