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);
アップロードされたファイルをスキャンして、ということが可能になると思いますが、精度の方は分かりません。
スポンサード リンク
投稿者 KJ : 2005年11月20日 09:06
|
![]()
間違いの指摘をしていただける方はメールでお願いします
最新のブログ記事
- 2008年8月21日 管理人のブックマーク
- エラーコード/エラーメッセージの検索エンジン「ErrorKey」
- タグでのブックマークを軽快に行えるFirefox拡張「Tagmarks」
- Photoshop用、美しい光のブラシ集
- 2008年8月20日 管理人のブックマーク
- 目のアップの画像を迫力ある画像にするPhotoshopチュートリアル
- 自動再生されるコンテンツスライダー実装
- IEでボックス要素を45度傾けることが出来る「Transformie」
- 2008年8月19日 管理人のブックマーク
- オンラインで動作するPhotoshop風画像編集ツール「pixlr」
- パスワードの強度を示してくれるJS「Ext.ux.PasswordMeter.js」


















