Welcome Guest, Not a member yet? Register   Sign In
Special character insert into mssql

I assume those values come from user input (e.g. POST data) and as a security measure CodeIgniter translates a few special characters that are found in GET, POST and COOKIE data. This isn't related to character sets.

How do I remove that kind of security?

And yes, it comes from user input. I've change a line in config.php to allow specialcharacters.

This is hard-coded, you can't affect it by changing a configuration setting. Just decode those characters before inserting them into the database.

I've tired using : http://www.php.net/manual/en/function.iconv.php

did not help :/

Again, these are HTML entities, nothing to do with character sets. You need htmlspecialchars_decode().

Got it working. Thnx.

$newname = htmlentities($oldname);

Sorry, I gave you the wrong function. Although you should've done at least some research on your own.

php > echo html_entity_decode('()');

I did. Thank you. Now it works great Smile

Theme © iAndrew 2016 - Forum software by © MyBB