Welcome Guest, Not a member yet? Register   Sign In
need to calculate MD5 for a file
#1

Prior to sending it to amazon S3. Is there some way to calcuate the MD5 value in CI?
proof that an old dog can learn new tricks
Reply
#2

(This post was last modified: 08-08-2018, 10:26 AM by php_rocs.)

@richb201,

Here you go ( http://php.net/manual/en/function.md5-file.php ). You could just create a simple helper to call the function.
Reply
#3

thanks. Do I need a helper?
proof that an old dog can learn new tricks
Reply
#4

@richb201,

You actually do not need a helper it was just a suggestion.
Reply
#5

it's built into PHP, you could create a helper if you wanted to.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB