Google reCAPTCHA V3 Implementation in PHP

Google reCaptcha is a free service from Google that helps protect websites from spam and abuse. Google has launched reCAPTCHA v3 to prevent spam bots without any user interaction. It returns us spam scores that can be used to take various actions in your web app.

What do I need to add the Google reCAPTCHA v3?

You only need a Google account to register your site to get API to use in your web application. So simple.

Continue reading “Google reCAPTCHA V3 Implementation in PHP”

3 Easy steps to remove WordPress Themes from the Server

Is your WordPress website feeling cluttered with unused themes? Keeping your site lean and efficient is essential for optimal performance and user experience. In this blog article, we’ll walk you through the process of removing unwanted themes from your WordPress server in just three easy steps. Say goodbye to the excess baggage and keep your website in top shape.

Continue reading “3 Easy steps to remove WordPress Themes from the Server”
How to Implement ChatGPT - OpenAI API in PHP Curl

How to implement ChatGPT (Openai) on the website in PHP

Are you interested in integrating the power of OpenAI’s ChatGPT into your PHP applications? In this step-by-step guide, we’ll walk you through the process of using the ChatGPT API with PHP and CURL. It’s easier than you might think!

Prerequisites

Before we get started, make sure you have the following prerequisites in place:

  1. OpenAI Account: You need an account on the OpenAI platform. If you don’t have one, you can sign up at OpenAI’s website.
  2. API Key: Once you have an account, you’ll need an API key. You can find this key in your OpenAI account settings or you can try this direct link once signup: https://platform.openai.com/account/api-keys
  3. PHP Installed: Ensure you have PHP installed on your computer or server. You can check if PHP is installed by running
    php -v
    in your terminal.
  4. CURL Extension: You also need the CURL extension for PHP. Most PHP installations come with CURL pre-installed, but you can verify it by running
    php -m | grep curl
    it in your terminal. If you don’t see anything, you might need to install CURL.
Continue reading “How to implement ChatGPT (Openai) on the website in PHP”

Why I Didn’t Join “Scaler Academy” – My initial experience, refund process, and review of Scaler Academy.

How they reach to you?

If you are an IT professional or Engineering Student, you are aware of the name “Scaler Academy”. Basically, they provide online training to freshers, college students, and IT professionals. They do regular basis marketing on Instagram, Facebook, YouTube, etc. on 3 hours of FREE masterclass sessions on different programming topics, like, ReactJs, Python, AI, etc.

Once you are registered for a free session, and after the session is completed, they will start to call you and ask basic questions about you, your qualification, your existing job, and the reason to attend the master class. If you are doing the job they will ask for your salary and during the discussion, s/he will tell you that you are getting low according to the current market.

Continue reading “Why I Didn’t Join “Scaler Academy” – My initial experience, refund process, and review of Scaler Academy.”

2 Easy steps to add Google reCaptcha to the Contact Form 7: WordPress

This post helps you to set up Google Captcha (V3) to your WordPress Contact Form 7.

1 Contact Form 7 has already a feature included for captcha. You only need to register your site with Google and get the Site Key and Secret Key.

How do I get API Keys (Site Key and Secret Key)?

Please go to the official site of Google Captcha which is as below and click on “Admin Console”
https://www.google.com/recaptcha/intro/v3.html

Continue reading “2 Easy steps to add Google reCaptcha to the Contact Form 7: WordPress”

How to change the MySQL table’s Column Order/Position

Sometimes it happens that once you created the MySQL table, later on, you need to arrange the column position or order according to the new updates.

There are two ways to change the table’s column order or position for your MySQL database:

Continue reading “How to change the MySQL table’s Column Order/Position”
7 Useful Htaccess Rules & Tricks

7 Most Useful .htaccess Tricks

What is .htaccess File and How to Edit or create it?

The .htaccess file is a powerful server configuration file that provides multiple commands for controlling and configuring the Apache Web Server. It is located in your site’s root folder. You need to connect to your website using an FTP client to edit it or you can directly edit from File Manger by using cPanel access. In most cases, it’ll be there on your server, but it doesn’t, don’t worry. You can open any HTML editor or notepad to create an HTACCESS file. You have to write the required rules and save the file name with “.htaccess” (without double quotes) and need to upload it to the root directory of your website.

Important Note: Before editing your .htaccess file, it is suggested to download a copy of the existing file to the safe place of your computer as a backup. You can use that file in case anything goes wrong and the site not working as desired. So, in this case, you can easily revert back the file and keep your site working as it was.

Continue reading “7 Most Useful .htaccess Tricks”
Most Important HTML Tags for Better SEO

Most 8 Important Tags, you have to use in your website to improve your SEO RANKING

Meta Tags

Meta tags are part of the HTML tags that help search engines and visitors to describe your page content. They are added between the <head> section of the HTML page but they are not visible to the front of the site for the visitors.  These Meta tags are only visible at code part of the website and can be view in page code. If you want to check and see the details of Meta tags, you have to check the “Source code” of the page. Just do right click on the opened website (any white or blank space) and choose the option “View Page Source” or you can use the short cut key Ctrl + U of your browser.

So, we can say that Meta tags are the key part of the webpage for all search engines that is available to the HTML code of the webpage and tell the search engines that what the page is about.  

Do Meta Tags only important for SEO?

Well, I can say, no. You don’t need to rely only on Meta Tags. If you wish that your webpage rank good on Google, you have to highly work on good-quality of page contents. If you get success to connect your users with your content that boosts your ranking automatically. But if you have an only good setup of Meta tags but your content not able to attract or failed to engage your customer, that won’t work at all.

Which Meta Tags I have to use on my website?

There are number of Meta Tags that can be used on your website. Here I am going to share some of Meta Tags which will be good to have on your site.

Continue reading “Most 8 Important Tags, you have to use in your website to improve your SEO RANKING”

How to Autocomplete tag.className in Visual Studio Code

By using the Ctrl + , (comma), it’ll open the setting panel of your Visual Studio Code. Click on “Emmet” from the left side and keep the following options checked (true):

If you are using the latest version of Visual Code. Keep the checkmark for the followings:
Emmet: Show Suggestions As Snippets
Emmet: Trigger Expansion On Tab