Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: VM vs Docker routing problem
Post: RE: VM vs Docker routing problem

Problem was caused by the use of PHP-FPM. Apparently it doesn't use the rewrite to remove the index.php Solution was to replace Code: -- RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{...
836 Views
1 Replies
04-30-2023, 04:00 PM
nuke
    Thread: VM vs Docker routing problem
Post: VM vs Docker routing problem

Hello folks, I have a strange one for you today. I have a CI 4.3.3 site that was developed on a VM and works correctly. I copied the app, public, tests, writable, and modules folder over to a doc...
836 Views
1 Replies
04-30-2023, 08:15 AM
nuke
    Thread: CI3 Encrypt/Decrypt Images
Post: RE: CI3 Encrypt/Decrypt Images

Solved: Removed the explode line and returned the base64 encoded str with the data:image/jpg;base64, portion still attached. Placed that in a variable to populate a view with the str data as an imag...
9,749 Views
10 Replies
09-16-2019, 07:03 AM
nuke
    Thread: CI3 Encrypt/Decrypt Images
Post: RE: CI3 Encrypt/Decrypt Images

InsiteFX Wrote: (09-12-2019, 11:10 AM) -- No, they are converting the string to an image I do not see you doing that. See the imagecreatefromstring method they are using. -- Yes, that is the next ...
9,749 Views
10 Replies
09-12-2019, 04:00 PM
nuke
    Thread: CI3 Encrypt/Decrypt Images
Post: RE: CI3 Encrypt/Decrypt Images

InsiteFX Wrote: (09-12-2019, 08:08 AM) -- I think in your code you are missing this part. PHP Code: -- $decoded_str = base64_decode($img_str); //pass the encoded string here          $im = ima...
9,749 Views
10 Replies
09-12-2019, 08:15 AM
nuke
    Thread: CI3 Encrypt/Decrypt Images
Post: RE: CI3 Encrypt/Decrypt Images

InsiteFX Wrote: (09-11-2019, 05:54 PM) -- Why are you putting it into an array? It should be just a string. -- Which line would you be referring to? The only array used is $arr_data to pull the base6...
9,749 Views
10 Replies
09-12-2019, 03:36 AM
nuke
    Thread: CI3 Encrypt/Decrypt Images
Post: RE: CI3 Encrypt/Decrypt Images

InsiteFX Wrote: (09-11-2019, 02:41 AM) -- Read this article. Encode Decode image using PHP (https://blog.decryptweb.com/encode-decode-image-php/comment-page-1/) -- Thank you for your response. ...
9,749 Views
10 Replies
09-11-2019, 11:20 AM
nuke
    Thread: CI3 Encrypt/Decrypt Images
Post: CI3 Encrypt/Decrypt Images

I have successfully encrypted and decrypted other file types on the fly so, i believe my code is correct but I can post it if you want to see it. How do you encrypt/decrypt images? Must you Base64_...
9,749 Views
10 Replies
09-10-2019, 06:34 PM
nuke

Theme © iAndrew 2016 - Forum software by © MyBB