PHPからウイルススキャン
2005年11月20日-
スポンサード リンク
PHP ClamAV Lib
PHP ClamaAV Lib is a PHP extension (written in C) that allows to incorporate virus scanning features in your PHP scripts. It uses the Clam Antivirus API (libclamav) for virus scanning. This extension is under development and are supported functions for file scanning and buffer scanning (see functions reference). Since version 0.12 is added a layer of compatibility with the old php_clamav extension.
PHPからウイルススキャニングするPHP用エクステンション。
エクステンションをインストールすれば以下のAPIが利用可能のようです。
string cl_scanfile(string filename);
boolean cl_scanfile_ex(string filename, int options, string virusname, int retcode);
string cl_scanbuff();
int cl_scanbuff_ex(string buffer, int size_buffer, string virusname, int retcode);
string cl_pretcode(int retcode);
アップロードされたファイルをスキャンして、ということが可能になると思いますが、精度の方は分かりません。
関連の記事検索:PHP
スポンサード リンク
Advertisements
SITE PROFILE
最新のブログ記事(新着順)
- 2012年2月10日 管理人のブックマーク
- ブラウザ上でPDFを表示するJSライブラリ「PDF.js」
- 次世代の検索フォームを作成するjQuery&CSS3サンプル
- 2012年2月9日 管理人のブックマーク
- faviconを書き換えてfacebookの通知っぽくしてくれるfaviconアラート実装ライブラリ「Tinycon」
- ページめくりを実現するためのjQueryプラグイン集
- 2012年2月8日 管理人のブックマーク
- HTMLをアップするとCSSのスケルトンを自動生成してくれる「bearcss」
- HTML5で綺麗でインタラクティブなグラフが描けるライブラリ「Flotr2」
- 2012年2月7日 管理人のブックマーク
- 過去のエントリ



















間違いの指摘をしていただける方はメール、あるいはTwitterでお願いします(クリック)




