Linux SoftwareProgrammingLibrariesPHP ClamAV Lib 0.12a

PHP ClamAV Lib 0.12a


PHP ClamaAV Lib is a PHP extension that allows you to incorporate virus scanning features in your PHP scripts. It uses the Clam An
Developer:   Geffrey Velasquez
      more software by author →
Price:  0.00
License:   GPL (GNU General Public License)
File size:   0K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


PHP ClamaAV Lib is a PHP extension that allows you to incorporate virus scanning features in your PHP scripts.

It uses the Clam Antivirus API (libclamav) for virus scanning. There are supported functions for file scanning and buffer scanning.

Functions Reference:

string cl_scanfile(string filename);

Description:

Scan a file given a filename.

Parameters:

filename: the absolute / relative path to the file.

Return value:

Returns the name of the virus if this is found and returns null when no virus is found.

cl_scanfile_ex(string filename, int options, string virusname, int retcode);

Description:

Scan a file given a filename (extended version), it supports the ClamAV scanning options and returns the virusname and return code of the 'cl_scanfile()' API function.

Parameters:

filename: the absolute / relative path to the file.
options: ClamAV scanning options.
virusname: This parameter is used to retrieve the virusname if a virus was found.
retcode: This parameter is used to retrieve the return code of the cl_scanfile API function.

string cl_scanbuff();

Description:

Scan a file given a string buffer.

Parameters:

buffer: string buffer to be scanned.

Return value:

Returns the name of the virus if this is found and returns null when no virus is found.

string cl_scanbuff_ex(string buffer, int size_buffer, string virusname, int retcode);

Description:

Scan a file given a string buffer (extended version), returns the virusname and return code of the 'cl_scanfile()' API function..

Parameters:

buffer: string buffer to be scanned.
size_buffer: size of the buffer.
virusname: This parameter is used to retrieve the virusname if a virus was found.
retcode: This parameter is used to retrieve the return code of the cl_scanfile API function.

string cl_pretcode(int retcode);

Description:

Translates the ClamAV return code.

Parameters:

retcode: The return code of a cl_scanfile_ex(filename, options, virusname, retcode) or cl_scanbuff_ex(buffer, size_buffer, virusname, retcode) function.
Return value:

Returns a string with the return code description.

Compatibility functions:

string clam_scan_buffer(string buffer);
string clam_scan_file(string filename);
string clam_get_version();
tags return code  string buffer  buffer string  retrieve the  the return  returns the  this parameter  the virusname  file given  scanfile api  api function  description scan  int retcode  

Download PHP ClamAV Lib 0.12a


 http://phpclamavlib.org/download/sources/php-clamavlib-0.12a.tar.gz
 http://phpclamavlib.org/download/sources/php-clamavlib-0.12a.tar.bz2


Authors software

PHP ClamAV Lib 0.12a (by Geffrey Velasquez)
PHP ClamaAV Lib is a PHP extension that allows you to incorporate virus scanning features in your PHP scripts.

It uses the Clam An


Similar software

PHP ClamAV Lib 0.12a (by Geffrey Velasquez)
PHP ClamaAV Lib is a PHP extension that allows you to incorporate virus scanning features in your PHP scripts.

It uses the Clam An

Convert::UU 0.52 (by Andreas Koenig)
Convert::UU is a Perl module for uuencode and uudecode.

SYNOPSIS

use Convert::UU qw(uudecode uuencode);
$encoded_string =

Sophie 3.04rc2 (by Vanja Hrustic)
Sophie is a daemon which uses 'libsavi' library from Sophos anti-virus vendor.

On startup, Sophie initializes SAVI (Sophos Anti-Vi

Better String Library 07222006 (by Paul Hsieh)
Better String Library is an abstraction of a string data type which is superior to the C library char buffer string type and C++'

Audio::TagLib::Tag 1.42 (by Dongxu Ma)
Audio::TagLib::Tag is a simple, generic interface to common audio meta data fields.

This is an attempt to abstract away the differ

Math::XOR 0.02 (by Tyler MacDonald)
Math::XOR is a package to handle XOR encryption of string buffers.

SYNOPSIS

use XOR;
print xor_buf("hello", "w

eProxy 1.0 (by Raymond Doetjes)
eProxy software is an SMTP proxy server framework specially designed for use in conjunction with Postfix version 2.1 and higher

Data::Faker::DateTime 0.07 (by Jason Kohles)
Data::Faker::DateTime is a Data::Faker plugin.

DATA PROVIDERS

unixtime

Return a unix time (seconds since the epoch) for a ra

File::Stat::ModeString 1.00 (by Dmitry Fedorov)
File::Stat::ModeString - conversion file stat mode to/from string representation.

SYNOPSIS

use File::Stat::ModeString;

$st

Levenshtein 0.10.1 (by David Necas)


Other software in this category

zlib 1.2.3 (by Jean-loup Gailly)
zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

libjpeg v6b (by Independent JPEG Group)
libjpeg is a library for handling the JPEG (JFIF) image format

OpenSSL 0.9.7c (by The OpenSSL Project Team)
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

libxml2 2.6.27 (by DV)
Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

GNU C library 2.4 (by Andreas Jaeger)
GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

GNU C library is us

    search


Featured Software

jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java

Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser

GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


Subscribe in Rojo
Google Reader
Add to My Yahoo!

Add to My AOL
Subscribe with Bloglines
Subscribe in NewsGator Online
Add 'nixbit linux software' to Newsburst from CNET News.com
del.icio.us nixbit linux software


Top tags