Services_Akismet2
[ class tree: Services_Akismet2 ] [ index: Services_Akismet2 ] [ all elements ]

File: Akismet2.php

Source Location: /Services_Akismet2-0.3.1/Services/Akismet2.php

Classes:

Services_Akismet2
Class to use Akismet API from PHP

Page Details:

Services_Akismet2 is a package to use Akismet spam-filtering API from PHP

This package provides an object-oriented interface to the Akismet REST API. The Akismet API is used to detect and to filter spam comments posted on weblogs.

There are several anti-spam service providers that use the Akismet API. To use the API, you will need an API key from such a provider. Example providers include Wordpress and TypePad.

Most services are free for personal or low-volume use, and offer licensing for commercial or high-volume applications.

This package is derived from the miPHP Akismet class written by Bret Kuhns for use in PHP 4. This package requires PHP 5.2.1.

PHP version 5

LICENSE:

Copyright (c) 2007-2008 Bret Kuhns, silverorange

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Includes:

require_once('Services/Akismet2/Comment.php') [line 63]
Comment class definition.
require_once('Services/Akismet2/InvalidApiKeyException.php') [line 68]
Exception thrown when an invalid API key is used.
require_once('Services/Akismet2/HttpException.php') [line 73]
Exception thrown when an invalid API key is used.
require_once('HTTP/Request2.php') [line 78]
HTTP request object

Documentation generated on Mon, 11 Mar 2019 15:40:49 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.