CodeIgniter Forums
Encrypt Library and Storing to MySQL Database - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Encrypt Library and Storing to MySQL Database (/showthread.php?tid=5740)



Encrypt Library and Storing to MySQL Database - El Forum - 02-02-2008

[eluser]Josh Kendall[/eluser]
Hi, I'm using the Encrypt Library in CI to encrypt user information (email address (username) and password) using a two-way encryption and storing it to a MySQL database. I'm having a problem where the entire string is not being stored to the database. They stop when they hit a symbol (in my case a + or a /).

Can anyone give me an idea of how to store the entire string? The fields in the DB are "Text" fields, so there shouldn't be an issue with storing the symbols.

Thanks in advance.