Welcome Guest, Not a member yet? Register   Sign In
Enccrypt and $_POST
#1

[eluser]Unknown[/eluser]
Hi there,
i've got an encrypted string from $this->encrypt->encode("xxx")
this string is:

Code:
DhjXIOAvixAbh2zh0RwGeGCYU66oJxvY/rAJmVTul1RKwTYJ+qXUnkix5FMBOkPgyKt7+pRC8rd/LNSv+afM1w==

Now i want to $_POST that string to another page.
And when i echo the input:

Code:
echo($this->input->post('xx'));

i get the following output:

Code:
DhjXIOAvixAbh2zh0RwGeGCYU66oJxvY/rAJmVTul1RKwTYJ qXUnkix5FMBOkPgyKt7 pRC8rd/LNSv afM1w==

Every << + >> is replaced by <<space>>

I changed $config['permitted_uri_chars'] and allowed th << + >> char, but the only thing that happens is that the << + >> chars are replaced by nothing. So the string cant be decoded due to missing characters.

What's wrong?

Is there a configuration for allowed $_POST chars?
Or any other ideas?


Messages In This Thread
Enccrypt and $_POST - by El Forum - 09-26-2008, 02:47 AM
Enccrypt and $_POST - by El Forum - 09-26-2008, 04:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB