PHP - Read File - Don't strip characters
Posted on 2013-02-04
I have an EDI file with the following typical data that I'm trying to read using php:
<TRANSACTION SET PURPOSE CODE>,00, Original
<PURCHASE ORDER TYPE CODE>,NE
<PURCHASE ORDER NUMBER>,19191987
<PURCHASE ORDER DATE>,01/15/2013
No matter what type of file open or read I use, the data is read with the <> characters & all characters between the <> characters removed:
How can I read the original data as is?
Thank you in advance.