I use the same code that I have used on every single site I've developed. However, for this one site (music reviews), anytime they include the text "CD sometext", it causes the POST variable to act as if it didn't exist. If they use "CD/DVD", it's fine. "CD." (at the end of a sentence) then it's fine. Its just any time they input " CD " with spaces around it.
I've tested this by doing this in the code:
Anytime "CD sometext" is in one of the POST variables, nothing gets displayed. Simply take out the "CD" and it works with no problems.Code:print_r($_POST);
PHP 4.3.10




Bookmarks