Jump to content

[SOLVED] simple message board can not include certain words or characters


Recommended Posts

so i have a simple message board that users post to via a php page that contains a textarea.  it is all working lovely, except for a small bug that has been discovered.  when the user includes the word "Update" in the post, it doesn't show up when you view the post.  the same word typed as "update" or "UPDATE" does work, but when the first letter is capatilized.....no go.  also, a semi-colon will not show up either.

 

any ideas on why this is happening?  is there something i can include in the code to exempt the data of the textarea from the code?  in a way, comment out the contents of the textarea?

preg_replace it probley the easiest,

 

i'll suggest doing a search their's few members who have done the same thing and their badword filters and BBcodes are all posted!!,

 

Oh and your need to post some code for "real" help, or we're all just guess until the cows come home :P

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.