syauqie
01-13-03, 22:07
| Hi all, Is there any of you ever tried to make a parser for ISO 8583 data format ? Or d'you know any links which tells such things? Million thanks, Syauqie |
View Full Version : How to parse ISO 8583 using PHP ?
| Hi all, Is there any of you ever tried to make a parser for ISO 8583 data format ? Or d'you know any links which tells such things? Million thanks, Syauqie |
| Hey.. great help! Thanks a lot.. Oyeah, some of you were send me an email, asking about this ISO 8583 parsing stuff was all about. I'l try to make an explanation. I'm currently developing an application (using PHP), for banking transaction and data interchange. First, I'm sending the bank this line of data (this is just a short sample of ISO 8583 data format, the real one contains much more character.. DOH!!) : 0400200210106221300000 And the bank replies : x040120021010622130000011 * Those lines of data are containing these informations : x = Message header 0400 = Request code 0401 = Response code 20021010 = Transaction date 6221 = Country and city code 300000 = Amount of money 11 = Success response (from bank) Now how can I trim or split the response data from the bank (marked with * above) and show its contents to my web page? substr() is not an option, though. Is there any other methods I can use? Please .. help.. :[.. Thanks a lot, guys! Syauqie |