read file in php until a specified string is found -
i have file wish read in php , split smaller files.
the file base64encoded each section delimited in file (unecoded) tilde followed original filename of base64 encoded data followed tilde.
as silly example, file :
nbaynnbba~file1.txt~nbaynnbbanbaynnbbanbaynnbbanbaynnbba~file2.txt~
i don't want use file_get_contents files huge , don't want hit memory limited.
can think of way of doing without having use fgetc char @ time ?
there no line breaks in file way - 1 continous block.
Comments
Post a Comment