特殊字符如何处理?

问一:在表单的文本框中,如输入特殊字符(如'),他就会出错,我知道可用脚本对每一个进行判断,但很烦。
问二:如何做一个发送邮件的页面。就是要包括邮件的主题,内容。
---------------------------------------------------------------

replace
---------------------------------------------------------------

replace(str,"'","")
---------------------------------------------------------------

使用UBB函数。
如果找不到的话,请email到[email protected]索要。

Published At
Categories with Web编程
comments powered by Disqus