Consent

This site uses third party services that need your consent.

Skip to content
Steven Roland
  • Posts

    From inspiration to implementation, I write about web development, design, and more.

    Creating a Simple PHP Wrapper for Google reCAPTCHA

    Create a reusable PHP class for Google reCAPTCHA to protect web forms from spam that supports static methods, default keys with override options, and easy integration into forms. It simplifies displaying the reCAPTCHA widget and verifying responses.

    Simple PHP CSRF Token

    CSRF tokens, or anti-CSRF tokens, are a security measure used to prevent Cross-Site Request Forgery (CSRF) attacks. They work by ensuring that a submitted request is only accepted by a web application if it contains a string that the server expects.