ljensen1 Posted September 18, 2006 Share 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! Link to comment Share on other sites More sharing options...
andygaunt Posted September 18, 2006 Share 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. Link to comment Share on other sites More sharing options...
mlindal Posted September 18, 2006 Share 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. Link to comment Share on other sites More sharing options...
ljensen1 Posted September 19, 2006 Author Share Posted September 19, 2006 Thank you, both of you, so much! That worked:) Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6564 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