Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
afrika
Master Smack Fu Yak Hacker
2706 Posts |
Posted - 2005-05-25 : 07:35:12
|
hi all,I have a form that posts messages to my provider's site.However, when i enter non alpha numeric characters such as !@#$%^&*()_+~}{[]"'?<> etcIt is misinterpreted in the form post.I was adviced to work on a javascript or backend script that maniuplates them to the correct querystring interpretation.How do i get this done ???quite tough ? Afrika |
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2005-05-25 : 08:05:46
|
In JavaScript, there is an encode method that HTML-encode the special characters you listed. I can't remember the name of it but it's a method of the String object. In ASP, there is also an HTMLEncode and URLEncode functions that work in similar fashion, they are used by the Server or Response objects. |
|
|
afrika
Master Smack Fu Yak Hacker
2706 Posts |
Posted - 2005-05-25 : 08:42:35
|
Oh ok, sounds quite simple, would refer back to my booksthanks |
|
|
|
|
|