ljensen1 Posted September 18, 2006 Posted September 18, 2006 Hello, I'm using FM7 Server Advanced and FX.PHP on a Mac. One of my web pages is occasionally giving the user an error 958 when the page is submitted. I've figured out that this happens when the user copies and pastes data from Word into one of the fields. Special characters like the trademark symbol will result in this error. I can't prevent users from doing this: because of the nature of the data that the field requires, some of them will be copying and pasting from somewhere else. Is there anything I can do to allow these characters to go through without generating an error message? I tried stripslashes, but that didn't help. Thanks for any help!
andygaunt Posted September 18, 2006 Posted September 18, 2006 Hi, If only we could control what the users did! Aside from that, you can make sure the page submitting the data has the correct charset. Add to the top of the page. This should allow the word contents to be submitted correctly.
mlindal Posted September 18, 2006 Posted September 18, 2006 Another lesson I learned last week was that in addition to what Andy said about the character set. Make sure that your apache or IIS is also set to the correct character set.
ljensen1 Posted September 19, 2006 Author Posted September 19, 2006 Thank you, both of you, so much! That worked:)
Recommended Posts
This topic is 6709 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now