Alternatives to PHP-clamav for using on shared server? -
i planning use php-clamav
in 1 of projects easy use have been notified cannot use because have shared hosting account
, can use if have vps or dedicated server.
the purpose of using php-clamav was/is scan users uploaded files allow users upload files onto server.
what options , other alternatives have?
clamav great piece of software, not php counterpart. tried same months ago and, surprise, php-clamav quite unmaintained piece of code.
you have 2 options:
- try interface clamav through command line , parse results
- use online virus scanning service php api or rest endpoint
in case, option may not option, you're on shared hosting , don't know kind of access give such task.
if go online service, give couple of links (i haven't still tested them, they're on todo list, promising):
- scanthis (looks quite easy , it's free)
- metascan online (it comes php samples hook up)
- virustotal (now acquired google, looks service)
other that, can't give recommendation but, time being, thumbs down php-clamav. should way go, it's absolutely unworkable if you're on php 5.4.x+ (at least, me)
Comments
Post a Comment