⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Uploading Files



Javier Cintrón
  • profile picture
  • Member

Posted 29 October 2012 - 23:07 PM

[color=#282828][font=helvetica, arial, sans-serif] Encrypting / Decrypting[/font][/color]

victor
  • profile picture
  • Member

Posted 29 October 2012 - 23:13 PM

I'm no expert in encryption.
http://stackoverflow.com/a/2448441
it's a class of Encrypting / Decrypting file.

Javier Cintrón
  • profile picture
  • Member

Posted 29 October 2012 - 23:16 PM

How I joined groceryCRUD

victor
  • profile picture
  • Member

Posted 29 October 2012 - 23:31 PM

you can use a callback function.
http://www.grocerycr...ck_after_upload



function example_callback_after_upload($uploader_response,$field_info, $files_to_upload)
{
step 1: get content from file

$content = ......
step 2: encryption
$this->load->library('encryption');
$encripted_content = $this->encryption->encrypt($content);
step 3: save file
}


sorry, It's 2:30 AM. I go to bed))

Javier Cintrón
  • profile picture
  • Member

Posted 29 October 2012 - 23:34 PM

Thank. Good Night. In country is 7:30pm Sorry!