あなたは非常に大きなファイルをアップロードする場合は、ユーザーが見ることができるように、あなたはまた、フラッシュのアップロード/ステータスバーを検討するかもしれませんアップロードされるファイルの量。 SWFUploadはそのための良い選択です。
あなたは、PHPでこのような何かを行うことによってClamAVの持つファイルをスキャンすることができます
$out = '';
$int = -1;
exec('/usr/local/bin/clamscan --stdout /path/to/file.ext', $out, $int);
if ($int == 0)
{
print('No virus!');
}
/*
Return codes from clamscan:
0 : No virus found.
1 : Virus(es) found.
40: Unknown option passed.
50: Database initialization error.
52: Not supported file type.
53: Can't open directory.
54: Can't open file. (ofm)
55: Error reading file. (ofm)
56: Can't stat input file/directory.
57: Can't get absolute path name of current working directory.
58: I/O error, please check your file system.
59: Can't get information about current user from /etc/passwd.
60: Can't get information about user '' from /etc/passwd.
61: Can't fork.
62: Can't initialize logger.
63: Can't create temporary files/directories (check permissions).
64: Can't write to temporary directory (please specify another one).
70: Can't allocate memory (calloc).
71: Can't allocate memory (malloc).
*/
私のIEの発言+1は、私を笑わせました - ) –