CodeIgniter Forums

Full Version: need to calculate MD5 for a file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Prior to sending it to amazon S3. Is there some way to calcuate the MD5 value in CI?
@richb201,

Here you go ( http://php.net/manual/en/function.md5-file.php ). You could just create a simple helper to call the function.
thanks. Do I need a helper?
@richb201,

You actually do not need a helper it was just a suggestion.
it's built into PHP, you could create a helper if you wanted to.