函数:QuoteMeta()

2004年12月03日13:01 查看...次 作者:  【

QuoteMeta

加入引用符号。

语法: string quotemeta(string str);

返回值: 字符串

函数种类: 资料处理

内容说明

本函数将字符串中含有 . \\ + * ? [ ^ ] ( $ ) 等字符的前面加入反斜线 "\" 符号。

参考

addslashes()  htmlentities()  htmlspecialchars()  nl2br()  stripslashes()  


责任编辑:rongsijing

给文章打个分先...

平均分:0.7(7 次)

-5 -4 -3 -2 -1 0 1 2 3 4 5

发表我的见解...

  • 您的大名: 留空为匿名
  • 您的主页:
  • 您的邮箱: