clamav for scanning file upload

cookiejest
cookiejest used Ask the Experts™
on
Hi there, I have recently been looking for a way to scan files that are being uploaded to my server via webform using php5. I would like to scan them while they are in the temp folder and I believe thisc an be done with clamav, however I cannot find much documentation of how to accomplish this and I am not totally sure how to install clamav on my testing(local wamp) or remote apache server. Can someone give me an overview of what I need to do in order to accomplish this?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
How to scan:
system('command');

the command is `clamdscan` , detail parameter please google it.


Install clamav via GUI
http://www.linuxmail.info/how-to-install-clam-antivirus-centos-5/

Install clamav via CLI
http://linux.bononline.nl/linux/clamav/index.html

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial