Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- virus scanning an uploaded file
- Dominic Tocci
July 8, 2005, 6:47 am
rate this thread
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
Re: virus scanning an uploaded file
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.
(Remove REMOVE for email address)