reCAPTCHA is a free service by Google that protects your site from spam. In this tutorial, I will walk you through integrating reCAPTCHA in PHP.

reCAPTCHA is a free service by Google that protects your site from spam and other types of automated abuse. It uses advanced risk analysis techniques to tell humans and bots apart.

This tutorial is aimed at people who are familiar with basic PHP and HTML forms. The source code of this tutorial is available here.

Sign up for your API keys reCAPTCHA API keys

To start using reCAPTCHA you will need to register your website to get the reCAPTCHA API key pair from Google. The key pair consists of a site key and a secret key. The site key is used to call or invoke the reCAPTCHA service on…


Most of us have to interact with databases now and then in our projects, and SQL is by far the most common language used. However, working with SQL in PHP can be messy. If your queries are complex, you have to code them up as text strings which can be error prone, and suffer from formatting challenges. Also, when you want to build your SQL queries to have variables inside them, then you are forced to do substitution or pasting, which is a little bit tricky.

Today I will walk you through writing long and confusing Select and Join SQL…


Reduce user-misspelled email addresses in your forms by suggesting the right domain when your users misspell it in an email address.

I have just launched DavisonPro.dev. A standalone blog where I write about Javascript, Web development and software development.

I recently stumbled across react-mailcheck, a React Component from the mailcheck library that suggests domains based on common typos in email forms. For example, ‘user@gnail.co’ will generate a suggestion for ‘user@gmail.com’. It’s perfect for preventing errors in user signups, and the authors claim its reduced their email bounces by 50%. Today I will take you through how you can add this feature to your signup forms.

Without further ado, let’s get on with the set up!

Download the source code of this…


https://davisonpro.dev

I have just launched DavisonPro.dev. A standalone blog where I write about Javascript, Web development and software development.

We will be creating an advanced version of How To Create A Simple REST API in PHP? Step By Step Guide! by Codeofaninja.com.

This is an advanced way to structure an api and all we will do in this article is to go through the main files in this project.

Download the source code of this project available on Github.

The project has lots of amazing functions and classes that you should really take a look at and use in your future…


Make amazing games with JavaScript. A must-read for JavaScript lovers

I have just launched DavisonPro.dev. A standalone blog where I write about Javascript, Web development and software development.

Introduction

I’ve been using JavaScript for some few years to develop Web and Mobile apps, and recently i have been developing an interest in making video games. In this article I will take you through making amazing games with JavaScript. Hopefully, it will be useful to somebody out there.

We will be using Karim Maloul’s low-poly as a learning example for this project. To view some of his work visit this link.

Getting started

You don’t have to be a pro in JS…


I’m into games. I’m into JavaScript. And i will walk you through making an awesome game.

The Monster and the Rabbit

I have just launched DavisonPro.dev. A standalone blog where I write about Javascript, Web development and software development.

Hello there 👋

Welcome on board. Today we will embark on an exciting adventure, where we will be making our very own JavaScript game. This is the second article of the Let’s make this game with JavaScript series.

If by chance you did not read the first part of this series I would recommend you quickly go through the basics. Click here or the link below.


I’m into games. I’m into JavaScript. And i will walk you through making an awesome game.

I have just launched DavisonPro.dev. A standalone blog where I write about Javascript, Web development and software development.

Introduction

I’ve been using JavaScript for some few years to develop Web and Mobile apps, and recently i have been developing an interest in making video games. In this article I will take you through making amazing games with JavaScript. Hopefully, it will be useful to somebody out there.

We will be using Karim Maloul’s low-poly as a learning example for this project. …


This article is aimed at somebody who has been using git for three months or more. Beginners cheat sheet

Git Tips For Everyday Use

I have just launched DavisonPro.dev. A standalone blog where I write about Javascript, Web development and software development.

I’ve been using git for some few years, and I wanted to share the most practical tips that I’ve learned along the way. Hopefully, it will be useful to somebody out there.

This article is aimed at somebody who has been using git for three months or more.

Table of Contents:

  1. Parameters for better logging
    git log --oneline --graph
  2. Log actual changes in…


It’s time! No more procrastination and poor excuses. Let’s secure our Node.js Apps.

SSL node js

I have just launched DavisonPro.dev. A standalone blog where I write about Javascript, Web development and software development.

In this article, I am going to walk you through a practical example of how to install SSL certificates to your Express.js server.

Let’s start with a short review.

SSL, TLS, HTTPS

Let’s start with a quick recapitulation of protocols that allows you to secure your client-server connections.

  • SSL stands for Secure Sockets Layer. It was developed in mid-90ties by Netscape and was quickly superseded by TLS.
  • TLS stands for Transport Layer…


A quick guide on setting up a React and PHP web. I love React and I still use PHP

PHP and React Js. I love React

I have just launched DavisonPro.dev. A standalone blog where I write about Javascript, Web development and software development.

In this article, I am going to walk you through setting up a PHP backend server for a React Application.

To download or browse the code visit the repository via this Github link.

With this setup you will be able to run and develop your React app on your normal Apache localhost rather than node js localhost:3000 which is crazy when you wan’t to force authentication redirects with PHP or using secure cookie as you develop your web app or render some…

Davison Pro

JavaScript enthusiast, Full Stack Web Developer and blogger at https://davisonpro.dev

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store