remove special characters from post e.g. '<' and '>'

Talk about programming tricks and examples

Moderators: ne_moj, zewa, vadimako, ne_moj, zewa, vadimako

yo_ho1
Newbie
Newbie
Posts: 3
Joined: Aug 25th, '10, 20:36

remove special characters from post e.g. '<' and '>'

Postby yo_ho1 » Oct 19th, '10, 00:49

I need to be able to remove special characters from the add/edit submission like '<' and '>'

Anyone got any ideas?

administrator
Site Admin
Site Admin
Posts: 5990
Joined: Jan 7th, '09, 23:18
Contact:

Re: remove special characters from post e.g. '<' and '>'

Postby administrator » Oct 19th, '10, 08:36

Open GetVariable() method in datagrid.class.php and add there all needed code, that cuts unexpected characters

Emely98
Newbie
Newbie
Posts: 1
Joined: Dec 31st, '13, 10:18

Re: remove special characters from post e.g. '<' and '>'

Postby Emely98 » Dec 31st, '13, 11:27

You efforts to provide us so nice and useful information are pretty good.


Return to “Programming Tricks”