PHP code example of cloudgrayau / oopspam
1. Go to this page and download the library: Download cloudgrayau/oopspam library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
cloudgrayau / oopspam example snippets
$params = [
'email' => '<EMAIL>',
'content' => '<MESSAGE>',
'checkForLength' => true /* optional */
];
if (\cloudgrayau\oopspam\OOPSpam::checkSpam($params, '<FORM LABEL>')){ /* passed */
}