开发者

php mailing function - get /'s in the mail

开发者 https://www.devze.com 2022-12-17 10:18 出处:网络
In my php project I am using php mail function. I have send test\'s as the content. But in my mail it look test\\\'s . How can I avoid this special character? I put nl2br function ... I also tried add

In my php project I am using php mail function. I have send test's as the content. But in my mail it look test\'s . How can I avoid this special character? I put nl2br function ... I also tried add slashes and strips开发者_开发百科lashes function. But that special character still appears.


stripslashes();

0

精彩评论

暂无评论...
验证码 换一张
取 消