Welcome Guest, Not a member yet? Register   Sign In
Why encryption in codeigniter working in local but not on the server?
#1

I used the below code in my local wamp server and everything is perfect
PHP Code:
$this->encryption->encode($result['wo_id']); 

But the same code is showing error when uploading to the web server online. Why?
Reply
#2

(This post was last modified: 03-25-2015, 12:30 AM by techbat.)

CI Encryption library required mcrypt and openssl extensions, check on your server configuration, both extensions are available.
And what issue is show up on server, please elaborate more??
Passionate PHP Programmer & Codeigniter Developer :- Always happy to help you!
Reply
#3

(03-24-2015, 10:47 PM)techbat Wrote: CI Encryption library required mcrypt and openssl extensions, check on your server configuration, both extensions are available.
And what issue is show up on server, please elaborate more??

Judging by the call to encode() instead of encrypt(), I'd say he's using CI2 and CI_Encrypt, which only supports Mcrypt and is deprecated in CI3.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB