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);
アップロードされたファイルをスキャンして、ということが可能になると思いますが、精度の方は分かりません。
スポンサード リンク
Advertisements
SITE PROFILE
最新のブログ記事(新着順)
- くちばしフォント【商用可】
- 小説表紙などに使えそうな商用可なフォント「になロマン」
- 筆で書いたようなカナ書体「筆竹仮名B」
- 無料・商用利用可な丸文字ピクセルフォント「マルミーニャM」
- スペースコブラ風フォント
- Next.jsのVercelから商用利用可能なフリー汎用フォント「Geist Font 」
- 無料で使えるいい感じの日本語フォント「しっぽり太ゴシック」
- CSSのみで実装された500種類のローディングアニメーション「CSS Loaders」
- 画像ホバーで様々なエフェクトをかけられる「Izmir」
- CSSのbox-shadowをGUIで生成できる「CSS Box Shadows Generator」
- 過去のエントリ