Welcome Guest, Not a member yet? Register   Sign In
[SOLVED]EnCryPtioN ProbLeM!
#11

[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 Smile
#12

[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 Smile[/quote]

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 :-)
#13

[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
#14

[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);
$plaintext_string = $this->encrypt->decode($encrypted_string);;

it works now because i have set up my encryption key..
thank you :-)




Theme © iAndrew 2016 - Forum software by © MyBB