Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当用户在网页中上传文件时,是否有一些库或方法可以在 PHP 中扫描病毒?
您可以执行命令行扫描,将其发送到第三方 api 以测试病毒或让服务器上的活动扫描程序处理它。这仅取决于您的服务器运行的操作系统、文件类型以及您想要确定正确解决方案的彻底程度。