Hi,
I'm trying to write an import script to import images from an old phpBB gallery into XFMG 2.2.
Now I came across the field "media_hash" in xf_mg_media_item table. How is this media_hash calculated?
It differs from the file_hash value in xf_attachment_data. The file_hash is calculated by md5_file function, am I right? But why it differs from media_hash?
Thank you
I'm trying to write an import script to import images from an old phpBB gallery into XFMG 2.2.
Now I came across the field "media_hash" in xf_mg_media_item table. How is this media_hash calculated?
It differs from the file_hash value in xf_attachment_data. The file_hash is calculated by md5_file function, am I right? But why it differs from media_hash?
Thank you