PHPFanBase JavaScript Spam Protection

Note: PHPFanBase is an old script with known security issues. Use with caution. This tutorial will show you how to implement basic JavaScript protection to deter automated spam bots from filling in fake applications at your PHPFanBase-powered fanlisting. Open join.php and find the following line (and fix the typo “Subtmit”; this should be “Submit”): <td><input […]

Enth3 JavaScript Spam Protection

Open show_join.php and near the bottom, find this: <input type="submit" value="Join the <?php echo $info[‘listingtype’]; ?>" class="enth3_submit" /> ..just before it, add: <script type="text/javascript"> <!– document.write(‘<input type="hidden" name="spamproofing" id="spamproofing" value="SPAMWORD" />’); //–> </script> <noscript><div>JavaScript must be enabled to join due to spam restrictions in place.</div></noscript> At the top of the file, after this: if( isset( […]