Forum Moderators: coopster

Message Too Old, No Replies

Php 5.2.8 stripping comma from POST variable

Php 5.2.8 stripping comma from _POST variable

         

anike

2:18 am on Mar 1, 2009 (gmt 0)

10+ Year Member



I am having a situation in which comma in variables submitted through post form action is being removed. For example " Fred, John" becomes "Fred John".

Please how can I fix this problem? My host just upgraded to php 5.2.8

sonjay

1:17 pm on Mar 1, 2009 (gmt 0)

10+ Year Member



There's not a global "remove_commas_from_post_data" php setting. That means the problem is in your code. Please post the snippet of code from your form processing script that handles that field.

dreamcatcher

1:34 pm on Mar 1, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Exactly as sonjay says. Are you running the post vars through some kind of filter?

dc

anike

3:31 pm on Mar 1, 2009 (gmt 0)

10+ Year Member



Thanks. Based on the response, I think I have to look deeper to find out what is responsible.