![]() |
[SOLVED]EnCryPtioN ProbLeM! - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: [SOLVED]EnCryPtioN ProbLeM! (/showthread.php?tid=27004) Pages:
1
2
|
[SOLVED]EnCryPtioN ProbLeM! - El Forum - 01-29-2010 [eluser]Rob Gordijn[/eluser] please tell us then what you want to do. it's pretty dificult to give some samples when I don't know your goal ![]() [SOLVED]EnCryPtioN ProbLeM! - El Forum - 01-29-2010 [eluser]husni[/eluser] [quote author="Rob Gordijn" date="1264777343"]please tell us then what you want to do. it's pretty dificult to give some samples when I don't know your goal ![]() owh ok.. i am only trying how to encode and decode actually.. so i just want to encode something,and take the string to the other page.. for example.. encode a string in page A and decode the string to be used in page B.. tq :-) [SOLVED]EnCryPtioN ProbLeM! - El Forum - 01-29-2010 [eluser]kirk112[/eluser] Have a look at base64_encode base64_decode I have used it in the past to encode long url string and pass from page to page. Before you encode make sure encrypt the string if it contains sensitive data. Hope the it helps [SOLVED]EnCryPtioN ProbLeM! - El Forum - 01-30-2010 [eluser]husni[/eluser] [quote author="kirk112" date="1264778960"]Have a look at base64_encode base64_decode I have used it in the past to encode long url string and pass from page to page. Before you encode make sure encrypt the string if it contains sensitive data. Hope the it helps[/quote] thanks..it works now! i have tried the base64 encode and decode..it really helps me.. but i also tried this one.. Code: $encrypted_string = $this->encrypt->encode($msg); it works now because i have set up my encryption key.. thank you :-) |