• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.