Md Obydullah

  https://obydul.me Hey, I'm Md Obydullah. I build open-source projects and write on Laravel, Linux server, modern JavaScript and more on web development.

   



373 Stories by Md Obydullah

Convert Image to Base64 String using jQuery

In this article, I’m going to convert an image to base64 string using jQuery. Let’s have a look: Convert & Display Image This code...
Md Obydullah
48 sec read

Laravel Generate PDF and Attach to Email

Hello artisans, in this article I’m going to share how to generate PDF and attach it to the email. I’m testing on Laravel 8.9.0....
Md Obydullah
1 min read

Use Model Events in Laravel 8.x & Upper

Hi artisans, today I’m going to share how to use model events in Laravel. I’m testing on Laravel 8.9.0. Let’s get started: Table of...
Md Obydullah
1 min read

Implement Basic Security on Your Web Server / Application

Hello artisans! Cybercrime is the greatest threat to every company in the world. According to Forbes, on average 30,000 new websites are hacked every...
Md Obydullah
6 min read

How to Create Signature Pad in Laravel

Hi artisan, today I’m going to create signature pad in Laravel. I’m testing on Laravel 8. Let’s get started: Table of Contents Create Controller...
Md Obydullah
2 min read

Disable Directory Listing on Apache

Directory listing allows the contents of a directory to be displayed upon request from a web client. It’s not good. To secure our web application we...
Md Obydullah
47 sec read

Install phpredis on CentOS 8 / RHEL 8

In this article, I’m going to show how to install phpredis on RHEL / CentOS 8. Let’s get started: Table of Contents Install Redis...
Md Obydullah
1 min read

How to Add MariaDB Error Log File on CentOS…

Hello server administrator, in this article I’m going to share how to create MariaBD error log flie on CentOS. I’m testing on CentOS 8....
Md Obydullah
55 sec read

Laravel Get Last N Days Records

Hi artisan, sometimes we need to get 7, 15 or 30 days of data from the database. In this short article, I’m going to...
Md Obydullah
22 sec read

How to Use SweetAlert2 with AJAX in Laravel 8.x…

In this article, I am going to share how to use SweetAlert2 in Laravel 8.x and Upper with AJAX. Let’s start. Table of Contents...
Md Obydullah
2 min read

Laravel Eloquent One to Many Relationship Tutorial with Example

A one-to-many relationship is used to define relationships where a single model owns any amount of other models. For example, a blog post may...
Md Obydullah
1 min read

How to Secure Inputs in PHP

In this article, we’re going to learn how to sanitize inputs in PHP. It increases the security of the code. Let’s have a look....
Md Obydullah
47 sec read

Laravel Clear Cache, View, Routes and Config

Sometimes after route, creating view page or after installing new package, some features don’t work properly. Caching is responsible for these types of issues....
Md Obydullah
37 sec read

How to Append & Extend Element to Python List

In this article, I’m going to show how to add element o python list. Let’s see: Table of Contents Append Element Append List Append...
Md Obydullah
38 sec read

Find the Length of a List in Python

A list in Python is used to store the sequence of various types of data. It is one of the most commonly used data...
Md Obydullah
27 sec read

How to Get Input from User in Python

Today we’re going to see how to get input from user in Python. Table of Contents Input String Input Integer Input Float Input String...
Md Obydullah
18 sec read

JavaScript Check a Variable is String

In this article, we’re going to check a variable is string in JavaScript. Let’s see: Method 1 We can any variable type using typeof...
Md Obydullah
23 sec read

How to Toggle CSS Class in Vue.js

In this article, I’m going to show how to toggle CSS class in Vue. Let’s see the example: Syntax We can toggle a class...
Md Obydullah
29 sec read