Menu
Hi,
I have a log file containing a list of serialized data, as shown here:
[url]http://designerdeveloper.net/log.txt
The format is:
FILEID|||serialize($data)
FILEID2|||serialize($data2)
I need to decode this data into the following:
Field 1 : Value
Field 2 : Value
etc.
I am not sure on how to do this – I think I should first explode the data with the separator “|||”, and then unserialize it, but I am not sure how.
Any help would be greatly appreciated.
[upl-file uuid=0be88b27-bdb7-48c6-90b8-024016d856d0 size=3kB]log.txt