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

[eluser]husni[/eluser]
is there any simple encryption coding??
#2

[eluser]Rob Gordijn[/eluser]
the manual for simple to use encryption Smile
http://ellislab.com/codeigniter/user-gui...ption.html

[edit]
I screwed up the uri
#3

[eluser]husni[/eluser]
[quote author="Rob Gordijn" date="1264774733"]the manual for simple to use encryption Smile
[email=http://ellislab.com/codeigniter/user-guide/libraries/encryption.html]http://ellislab.com/codeigniter/user-guide/libraries/encryption.html[/email][/quote]

i followed the tutorial..
but i got error..
what is the function of encryption key??
and where should i put those codes??
#4

[eluser]Rob Gordijn[/eluser]
ok,

- what kind of error did you get? (show source also)
- what do want to do exactly?

.o/
#5

[eluser]husni[/eluser]
[quote author="Rob Gordijn" date="1264775096"]ok,

- what kind of error did you get? (show source also)
- what do want to do exactly?

.o/[/quote]

1) i want to pass the encrypted variable through uri segment..
how can i do that?

2) where should i encypt the variable? in the controller or view?
#6

[eluser]Rob Gordijn[/eluser]
I would not encourage to send encrypted strings via the uri, but anyway, when you created an encrypted string, you can make a link (anchor) to pass it on.

Where to encrypt? Preferable in a model, so you can reuse it Smile
#7

[eluser]husni[/eluser]
[quote author="Rob Gordijn" date="1264775547"]I would not encourage to send encrypted strings via the uri, but anyway, when you created an encrypted string, you can make a link (anchor) to pass it on.

Where to encrypt? Preferable in a model, so you can reuse it Smile[/quote]

when i use anchor to pass it..the value in the anchor also contain encrypted variable so it still go through uri..so how?
#8

[eluser]husni[/eluser]
Quote:An Error Was Encountered

The URI you submitted has disallowed characters.
got this error..huhu
#9

[eluser]Rob Gordijn[/eluser]
like I said, do not pass encryption in the uri Smile

but you figured out how to use encryption and pass it on to the uri.
(try to store it in a database, session, cookie, email, whatever the purpose is)

got more problems?
#10

[eluser]husni[/eluser]
[quote author="Rob Gordijn" date="1264776909"]like I said, do not pass encryption in the uri Smile

but you figured out how to use encryption and pass it on to the uri.
(try to store it in a database, session, cookie, email, whatever the purpose is)

got more problems?[/quote]

huhu sorry..
can you give me the sample of the code..or any link on the internet that have some samples??
i don't really see what i need to do actually..




Theme © iAndrew 2016 - Forum software by © MyBB