Re: Advice on virus checking uploaded files?
| From: | Jason Wong | Date: | Sat, 17 May 2003 09:30:31 +0000 |
| Subject: | Re: Advice on virus checking uploaded files? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148016@lists.php.net to get a copy of this message | ||
On Saturday 17 May 2003 17:22, Dana Freer wrote:
> My PHP script needs to check uploaded files for viruses. Does anyone have
> any advice on how best to do this when using PHP4 under Linux 7.1? I have
> my own web server, so can install what I like on it, but I just do not know
> what (if any) virus checker to obtain/purchase, and how I would drive it
> from my PHP scripts. Any help very much appreciated. Thanks.
AFIAK all Linux based virus scanners can be run from the commandline thus
exec() and friends are what you need.
For a good summary of available virus scanners:
http://qmail-scanner.sourceforge.net/
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
The power to destroy a planet is insignificant when compared to the power of
the Force.
- Darth Vader
*/