Skip to content
  • Homepage
  • HTML
  • CSS
  • Symfony
  • PHP
  • How to
  • Contact
  • Donate

Teach Developer

Articles, Guides & Tips

Category: How to

How to Deploy a React application on a cPanel

Posted on October 8, 2023October 8, 2023

post is about how to deploy React app in a sub-directory on cPanel. So, for this, you need a React Application setup and a cPanel ready for deployment. You can host React app on Firebase or any free hosting as well. That, I will cover in another post. React App cPanel/WHM Once, you are ready, let’s start…

Read More “How to Deploy a React application on a cPanel” »

How to, React, Top Tutorials

How to use events listeners and Event Subscriber in Symfony

Posted on July 21, 2023July 21, 2023

We use events to perform some tasks if an event occurs, these tasks can be achieved by using the followings: 1. Event Subscriber 2. Event Listeners Event Subscriber vs Event Listeners They both serve the same purpose but have different implementations. Both trigger some functions in the specific time of processing data by Symfony. We can declare…

Read More “How to use events listeners and Event Subscriber in Symfony” »

How to, PHP, Symfony, Top Tutorials

How to Get Environment Variables in Laravel ReactJS

Posted on October 17, 2022October 17, 2022

This article will provide examples of react js environment variables. I would like to share with you how to get the env variable in the laravel react site. if you want to see an example of how to get environment variables in react js then you are in the right place. we will help you…

Read More “How to Get Environment Variables in Laravel ReactJS” »

How to, JavaScript, React

How to Send Email from Localhost in PHP

Posted on September 18, 2022September 18, 2022

PHP sends email using the Inbuilt PHP MAIL() function. This tutorial shows you how you can send emails in PHP using the inbuilt PHP mail() function. If you work with PHP, you need to send emails to users like when the user registered with us, send a reset password link in the mail, if any…

Read More “How to Send Email from Localhost in PHP” »

How to, PHP, Tips

How to PHP Get Max Value From Array

Posted on September 18, 2022September 18, 2022

PHP gets the max/maximum/largest value from the array. This tutorial has the purpose to explain to you several easy ways to find or get the maximum or largest value from an array in PHP. Here, we will take e.g. PHP gets the maximum value in an array, get the largest number in the array PHP…

Read More “How to PHP Get Max Value From Array” »

How to, PHP, Tips

How to Recover Deleted WhatsApp Messages

Posted on September 18, 2022

Recover Deleted Messages From Google Drive & iCloud For Android For Android users, one of the best ways to restore your deleted WhatsApp messages is to restore your backup from Google Drive. But It is only possible if you have set your backup option ON in App. If you have not set a backup option…

Read More “How to Recover Deleted WhatsApp Messages” »

How to, Tips

How to change password in the CodeIgniter framework

Posted on September 17, 2022September 17, 2022

How to send forgot password in CodeIgniter framework PHP. Here we using 2 files to insert data in MySQL: Forms.php Path: codeIgniter\application\controllers\Forms.php forgot_pass.php Path: codeIgniter\application\views\change_pass.php Forms.php (Controller) <?php class Forms extends CI_Controller { public function __construct() { parent::__construct(); $this->load->database(); $this->load->library(‘session’); $this->load->helper(‘url’); $this->load->model(‘Hello_model’); } public function forgot_pass() { if($this->input->post(‘forgot_pass’)) { $email=$this->input->post(’email’); $que=$this->db->query(“select pass,email from user_login where email=’$email'”); $row=$que->row();…

Read More “How to change password in the CodeIgniter framework” »

Codeigniter, How to

How to Use useLocation Hook in React Router DOM V6

Posted on September 17, 2022September 17, 2022

You are already familiar with the basics of React. Also, having a good understanding of React Router DOM. This post will be totally dependent on these. If you don’t have a React app setup, then you can create it. Else, you can move ahead with the existing React App. Create React App You can create a…

Read More “How to Use useLocation Hook in React Router DOM V6” »

React, How to, Tips

How to Delete Unused Database Tables in WordPress

Posted on September 14, 2022September 17, 2022

Use the following steps to remove or delete unused tables from database in WordPress using plugins garbage collector: Step 1 – Add Plugins Garbage Collector Step 2 – Active Plugins Garbage Collector Step 3 – Search Unused Tables From Database Step 4 – Remove or Delete Unused Tables Step 1 – Add Plugins Garbage Collector…

Read More “How to Delete Unused Database Tables in WordPress” »

Wordpress, How to

How to Delete and Remove Files on Ubuntu Linux Terminal

Posted on September 13, 2022September 17, 2022

Delete and remove files on ubuntu Linux using the terminal. In this tutorial, you will learn how to delete and remove a file on Ubuntu Linux-based system using a terminal or command prompt. This tutorial will use the rm command. It tries to remove the files specified on the command line. Use the rm command…

Read More “How to Delete and Remove Files on Ubuntu Linux Terminal” »

Ubuntu, How to, SSH

Enable or Disable SSH Root Login Access in Linux

Posted on September 12, 2022September 17, 2022

SSH Root user login access is enabled in any system by default. Or we are asked while installing a system. that you have to enable or disable ssh root user login access. And you never know how to enable and disable ssh root user login access. So in this tutorial, we will show you how…

Read More “Enable or Disable SSH Root Login Access in Linux” »

How to, Linux, SSH

How to Symfony parameters and environment variables use

Posted on September 11, 2022September 17, 2022

Parameter The Symfony parameter is a variable stored in the service container. Use parameters when you want to separate out values that regularly change as well as for reusable purposes.We should prefix with ‘app’ to prevent conflicting with parameters from Symfony and 3rd party bundle, the following example is a parameter for sender email: #…

Read More “How to Symfony parameters and environment variables use” »

How to, Symfony

How to Symfony Request

Posted on September 10, 2022September 17, 2022

Symfony request tutorial shows how to work with request objects in Symfony. We show several ways how to create request objects in Symfony. Symfony Symfony is a set of reusable PHP components and a PHP framework for web projects. Symfony was published as free software in 2005. The original author of Symfony is Fabien Potencier. The…

Read More “How to Symfony Request” »

How to, Symfony

How to Change SSH Port in Linux

Posted on September 9, 2022September 17, 2022

SSH (Secure Shell) is the most popular protocol for connecting remote Linux systems. Changing the SSH port will provide you with an extra layer of security. The new port will be a little harder to identify for hackers. Change SSH Port in Linux Changing the SSH port is a straightforward process in Linux systems. Any…

Read More “How to Change SSH Port in Linux” »

How to, Linux, SSH

How to Enable Debug Mode in Laravel

Posted on September 9, 2022September 17, 2022

Debugging is a helpful feature for developers to identify the causes of issues. Most modern application frameworks allow you to enable debug mode, including Laravel. It is a good idea to keep enabling debug mode in your development environment. In your production environment, this value should always be false. This tutorial help to enable/disable debug…

Read More “How to Enable Debug Mode in Laravel” »

How to, Laravel

How to Add Reset Button in jQuery UI Datepicker

Posted on September 3, 2022September 17, 2022

I am using the jQuery UI date picker plugin to add the date picker dialog to the text input field. Since the input field is a read-only element, it is not allowed to clear the selected date. Is there any option to add a reset button in the date picker to clear the date from…

Read More “How to Add Reset Button in jQuery UI Datepicker” »

How to, Jquery

How to Display Breadcrumb without Plugin in WordPress

Posted on September 3, 2022September 17, 2022

Breadcrumbs are navigation links, used to display links to all pages beyond the homepage. By default, it is placed at the top of the page and helps in back navigation. In WordPress, breadcrumbs play an important role on the posting page. There are many WordPress plugins available to add breadcrumbs to your site. But we…

Read More “How to Display Breadcrumb without Plugin in WordPress” »

How to, Wordpress

How to Search Recently Modified Files in Linux

Posted on September 3, 2022September 17, 2022

This post will help you to find recently modified files in Linux via the command line. The find command works with, defining duration in Minutes or Days. The minutes are defined with -mmin and the day’s value can be defined with -mtime You can also define the search criteria to find files modified within or before the specified…

Read More “How to Search Recently Modified Files in Linux” »

How to, Linux

How to clear your cache in npm

Posted on September 3, 2022September 17, 2022

If you ever get weird errors in npm like Please run npm cache clean you may need to clean or refresh your npm cache. To fix this, you can try running npm cache clean. Run: “npm cache verify” for npm version 5 and up However if you’re running npm v5 and above, npm is supposed to be self-healing,…

Read More “How to clear your cache in npm” »

How to, Node js, React, Vue

How to install Git on Linux

Posted on September 1, 2022September 17, 2022

Linux is a popular and as well as widely used operating system. The installation of Git on Linux is quite simpler when compared to other platforms. However, one has to use the right package manager for Linux distribution.We will proceed with this tutorial to see how to install and set up Git on various distributions…

Read More “How to install Git on Linux” »

How to, Linux

How to create the first Git Repository

Posted on September 1, 2022September 17, 2022

Welcome to the tutorial on Git. Here you will learn how to Create a Repository, and how to clone or copy other repositories. A Repository is a project that is tracked and managed by Git. Thus, Git tracks changes by storing snapshots of project versions in a .git file. Git Config There is a need…

Read More “How to create the first Git Repository” »

Git, How to

How to Deploy or Host your ReactJS App in cPanel

Posted on August 28, 2022September 17, 2022

This tutorial assumes you already have a cPanel hosting service purchased and a domain name registered. If yes, Let’s go straight to the steps (If No, You can comment, I can give you steps on how to get a domain and hosting service) Step 1. Using the Terminal/CMD in your project directory, create a react…

Read More “How to Deploy or Host your ReactJS App in cPanel” »

How to, Node js, React, Tips

How to check PHP version using the command line

Posted on August 26, 2022September 17, 2022

If you have access to the command line or terminal, then you can check your PHP version by running the php -v or php –version command. Here’s an example of the output: You can see that the command shows the PHP version as PHP 8.1.5. But sometimes you may not have access to the command line, or you may install…

Read More “How to check PHP version using the command line” »

How to, PHP, Tips

How do sum values from an array of key-value pairs in JavaScript?

Posted on August 21, 2022September 17, 2022

To fix getFullyear() is not a function with JavaScript, we should be called getFullYear instead. For instance, we write to call start.getFullYear to return the 4-digit year number of the start date. Conclusion To fix getFullyear() is not a function with JavaScript, we should be called getFullYear instead.

How to, JavaScript

Here are 10 platforms where you can find your next remote job as a developer.

Posted on August 21, 2022September 18, 2022

1. remotive. io 2. flexjobs. com 3. producthunt 4. remoteok. com 5. justremote. co 6. weworkremotely. com 7. dailyremote. com 8. hired. com 9. remote. co 10. remoteleaf. com

How to, Tips

How to fix getFullyear() is not a function with JavaScript?

Posted on August 21, 2022September 17, 2022

Sometimes, we want to fix getFullyear() is not a function with JavaScript. In this article, we’ll look at how to fix getFullyear() is not a function with JavaScript. To fix getFullyear() is not a function with JavaScript, we should be called getFullYear instead. For instance, we write to call start.getFullYear to return the 4-digit year number of the start date. Conclusion…

Read More “How to fix getFullyear() is not a function with JavaScript?” »

How to, JavaScript

How to trigger a button click from another button click event with JavaScript?

Posted on August 21, 2022August 21, 2022 No Comments on How to trigger a button click from another button click event with JavaScript?

Sometimes, we want to trigger a button click from another button click event with JavaScript. In this article, we’ll look at how to trigger a button click from another button click event with JavaScript. To trigger a button click from another button click event with JavaScript, we call the element click method. For instance, we write to…

Read More “How to trigger a button click from another button click event with JavaScript?” »

How to, JavaScript

How to change the link color of the current page with CSS?

Posted on August 21, 2022August 21, 2022 No Comments on How to change the link color of the current page with CSS?

Sometimes, we want to change the link color of the current page with CSS. In this article, we’ll look at how to change the link color of the current page with CSS. To change the link color of the current page with CSS, we set the color  background-color properties. For instance, we write to set the text color…

Read More “How to change the link color of the current page with CSS?” »

CSS, How to

How to make the scrollbar visible in mobile browsers with CSS?

Posted on August 21, 2022August 21, 2022 No Comments on How to make the scrollbar visible in mobile browsers with CSS?

Sometimes, we want to make the scrollbar visible in mobile browsers with CSS. In this article, we’ll look at how to make the scrollbar visible in mobile browsers with CSS. To make the scrollbar visible in mobile browsers with CSS, we set the scrollbar’s width. For instance, we write to set the vertical width of…

Read More “How to make the scrollbar visible in mobile browsers with CSS?” »

CSS, How to

How to change background Opacity when the bootstrap modal is open with CSS?

Posted on August 21, 2022August 21, 2022 No Comments on How to change background Opacity when the bootstrap modal is open with CSS?

Sometimes, we want to change background opacity when the Bootstrap modal is open with CSS. This article will look at how to change background opacity when the Bootstrap modal is open with CSS. To change background Opacity when Bootstrap modal is open with CSS, we set the opacity style in the modal-backdrop class. For instance, we write to set…

Read More “How to change background Opacity when the bootstrap modal is open with CSS?” »

CSS, How to

Posts pagination

1 2 Next

Categories

  • Codeigniter (3)
  • CSS (11)
  • eCommerce (1)
  • Framework (1)
  • Git (3)
  • How to (43)
  • HTML (5)
  • JavaScript (15)
  • Jquery (7)
  • Laravel (1)
  • Linux (4)
  • Magento-2 (1)
  • Node js (4)
  • Others (2)
  • PHP (11)
  • React (13)
  • Server (1)
  • SSH (3)
  • Symfony (6)
  • Tips (16)
  • Top Tutorials (10)
  • Ubuntu (3)
  • Vue (1)
  • Wordpress (7)

Latest Posts

  • What is SSH in Linux?
  • How to Delete Files in Ubuntu Command Line
  • How to Deploy a React application on a cPanel
  • How to use events listeners and Event Subscriber in Symfony
  • How to Convert PHP CSV to JSON

WEEKLY TAGS

AJAX (1) Codeigniter (1) Javascript (11) JQuery (1) PHP (16) Programming (1) React (3) Symfony (1)

Random Post

10 Programming Habits that every Developer Should Adopt
Important most things you should know about JSX
Best Practical CSS Tips
How to Install a WordPress Plugin for Beginners
PHP 8.1: read-only properties

Quick Navigation

  • About
  • Contact
  • Privacy Policy

© Teach Developer 2021. All rights reserved