Welcome Guest, Not a member yet? Register   Sign In
CI3 Encrypt/Decrypt Images
#7

(09-12-2019, 08:08 AM)InsiteFX Wrote: I think in your code you are missing this part.

PHP Code:
$decoded_str base64_decode($img_str); //pass the encoded string here
     
    $im 
imagecreatefromstring($decoded_str); 

Creating the image from a decoded string.
Isn't that what the line

$plain_txt = base64_decode($arr_data[1]);

is doing?
Reply


Messages In This Thread
CI3 Encrypt/Decrypt Images - by nuke - 09-10-2019, 06:34 PM
RE: CI3 Encrypt/Decrypt Images - by InsiteFX - 09-11-2019, 02:41 AM
RE: CI3 Encrypt/Decrypt Images - by nuke - 09-11-2019, 11:20 AM
RE: CI3 Encrypt/Decrypt Images - by InsiteFX - 09-11-2019, 05:54 PM
RE: CI3 Encrypt/Decrypt Images - by nuke - 09-12-2019, 03:36 AM
RE: CI3 Encrypt/Decrypt Images - by InsiteFX - 09-12-2019, 08:08 AM
RE: CI3 Encrypt/Decrypt Images - by nuke - 09-12-2019, 08:15 AM
RE: CI3 Encrypt/Decrypt Images - by InsiteFX - 09-12-2019, 11:10 AM
RE: CI3 Encrypt/Decrypt Images - by nuke - 09-12-2019, 04:00 PM
RE: CI3 Encrypt/Decrypt Images - by nuke - 09-16-2019, 07:03 AM
RE: CI3 Encrypt/Decrypt Images - by InsiteFX - 09-16-2019, 08:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB