清理 ping 程序的 PHP 输入
我想将 php 页面连接到 linux 命令行程序 ping。
我意识到存在卫生问题。 是否有一个内置库或函数可以处理所有事情,或者我必须依赖正则表达式解析器?
I would like to interface a php page to the linux command line program ping.
I realize that there are sanitation issues. Is there a builtin library or function that can take care of everything, or will I have to rely on regex parsers?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

发布评论
评论(2)
同展鸳鸯锦2024-07-30 14:53:35
~没有更多了~
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
您的意思是
escapeshellcmd
和escapeshellarg
?Do you mean
escapeshellcmd
andescapeshellarg
?