Posted by Dave on 07/08/05 17:07
Dominic Tocci (nntp2@toccionline.com) decided we needed to hear...
> Does anyone know of way in PHP of virus-scanning a file upload? Users
> upload exe files on my site and I'd like to give them a preliminary virus
> scan automatically in my php code. An open source solution would be ideal,
> but I'd settle for any solution. I'm on a linux server if that makes a
> difference.
>
> Thanks,
> Dominic
Try ClamAV - http://www.clamav.net/ - its excellent.
You can call it from your PHP code (or pretty much anywhere else) so in
that sense it will do exactly what you want, but if your webhost
doesn't allow you to install software or set up cron jobs (used to
update the virus db) then its probably not for you.
--
Dave <dave@REMOVEbundook.com>
(Remove REMOVE for email address)
[Back to original message]
|