|
static | checkCaptcha ($sessionId, $solution) |
|
static | checkContent ($sessionId=null, $postTitle=null, $postBody=null, $authorName=null, $authorUrl=null, $authorEmail=null, $authorOpenId=null, $authorId=null) |
|
static | getAudioCaptcha ($sessionId=null) |
|
static | getImageCaptcha ($sessionId=null) |
|
static | getIpAddress () |
|
static | getServerList ($counter=0) |
|
static | getStatistics ($type) |
|
static | sendFeedback ($sessionId, $feedback) |
|
static | setAllowedReverseProxyAddresses ($addresses) |
|
static | setPrivateKey ($key) |
|
static | setPublicKey ($key) |
|
static | setServerList ($servers) |
|
static | setTimeOut ($timeout) |
|
static | setUserAgent ($newUserAgent) |
|
static | verifyKey () |
|
static | getContentTypes () |
|
static | loadMollom () |
|
static | verifySubmission ($assetid, $parameters) |
|
static | getMollomCaptchaKeywordReplacement ($assetid) |
|
static | getMollomCaptchaFieldKeywordReplacement ($assetid) |
|
static | getMollomCaptchaRegenLinkKeywordReplacement ($assetid, $regen_text='Regenerate security key') |
|
static | getMollomCaptchaAudioKeywordReplacement ($assetid) |
|
static | getMollomCaptchaImageKeywordReplacement ($assetid) |
|
static | checkCaptchaResponse ($assetid) |
|
static | refreshMollomSession ($assetid) |
|
Mollom class
This source file can be used to communicate with mollom (http://mollom.com)
The class is documented in the file itself, but you can find more documentation and examples on the docs-page (http://mollom.crsolutions.be/docs). If you find any bugs help me out and report them. Reporting can be done by sending an email to php-mollom-bugs[at]verkoyen[dot]eu. If you report a bug, make sure you give me enough ination (include your code). If you have questions, try the Mollom-forum, don't send them by mail, I won't read them.
Changelog since 1.0.1
- Fixed a nasty bug. Possible infinite loop in doCall().
- Fixed getServerList. I misinterpreted the documentation, so now the defaultserver is xmlrpc.mollom.com instead of the first fallback-server.
- Fixed the timeout-issue. With fsockopen the timeout on connect wasn't respected. Rewrote the doCall function to use CURL over sockets.
Changelog since 1.1.0
Changelog since 1.1.1
- PHPMollom was using HTTP 1.1, now HTTP 1.0.
- Fallbackserver are hardcoded, when no servers could be retrieved the fallbacks are used
Changelog since 1.1.2
- Typo
- New Licence: BSD Modified
License Copyright (c) 2008, Tijs Verkoyen. All rights reserved.
Redistribution and use in source and binary s, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.
This software is provided by the author ``as is'' and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the author be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.
- Author
- Tijs Verkoyen mollo.nosp@m.m@ve.nosp@m.rkoye.nosp@m.n.eu
- Version
- 1.1.3
- Copyright
- Copyright (c) 2008, Tijs Verkoyen. All rights reserved. http://mollom.local/license BSD License
Definition at line 79 of file mollom.inc.