-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathocr.php
executable file
·58 lines (58 loc) · 3.81 KB
/
ocr.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
include("bgc_ocr.class.php");
/**
* EXAMPLE FILE.
*/
$file="00 060620 BANKGIROT
10
20 99123465
30 99123465060620 9912346
40 49523470000000010000 5540020978
40 49524530000000797800 5540094949
50 991234650606200000002000000000807800 9912346
20 9912346
30 9912346060620
40 39407150000000147700 5540020977
40 39407640000000198100 5511115706
40 39408300000000190700 5541008608
40 39408890000000073100 5540093777
40 39408890000000132100 5540006858
40 39409620000000087600 5540094494
40 39410690000000078500 *N37551977
40 39410770000000094900 5540021183
40 39410850000000169300 5517035205
40 39410930000000084100 *T37510501
40 39411010000000084900 5511100321
40 39411190000000074200 5540022584
40 39411350000000076900 5540025566
40 39411430000000229300 *S37540398
40 39411500000000075500 5540097588
40 39411680000000082700 5540009276
40 39411760000000123900 5540021117
40 39411840000000248300 5511053245
40 39411840000000201100 5541008627
40 39412000000000147700 5517043623
40 39412180000000123000 *T37510510
40 39412260000000082700 5540022386
40 39412340000000087700 5517003480
40 39412420000000153800 *S37537838
40 39412590000000100000 5504092053
40 39412750000000034000 5514040512
40 39412750000000194000 5517061500
40 39413740000000113700 5517041901
40 39413740000000191300 5540043993
40 39413900000000113400 LB 0005550731
40 39414080000000158800 LB 0003334451
40 39414240000000201700 5540020428
40 39414570000000113400 5541008602
40 39416060000000119900 5540026099
40 39417050000000320800 5540011036
50 99123460606200000035000000004708800
90 0606200000037000000005516600 ";
$ocr = new BOFRC( array($file,false,"Y-m-d H:i:s") );
?>
<pre>
<?php
print_r($ocr->returnData());
?>
</pre>