Skip to content
Codewolfy Logo

Codewolfy

  • Privacy Policy
  • Terms of Use
  • Contact Us
  • About Us
Get File Extension in JavaScript
  • JavaScript

Get File Extension in JavaScript

Get File Extension in JavaScript is essential when working with file uploads or displaying files based on their type. Sometimes, you need to validate file extensions or extract them for further processing. HTML input allows users to upload files to a webpage, but handling them safely requires knowing their extensions. Validating user input is crucial

Learn More about Get File Extension in JavaScript
2 years ago3 months ago
Show Video Preview using JavaScript
  • JavaScript

Show Video Preview using JavaScript

Show Video Preview using JavaScript is a useful feature when you want users to see their selected video before uploading it to the server. Social media platforms like Facebook and Twitter use this functionality to help users confirm their video choice. You can easily implement similar functionality with JavaScript. In this article, we will provide

Learn More about Show Video Preview using JavaScript
2 years ago3 months ago
Show Image Preview using jQuery
  • jQuery

Show Image Preview using jQuery

When users upload images, it’s helpful to let them see a preview before sending it to the server. This way, they can quickly spot mistakes and remove or change any wrong images. You can implement this seamlessly with jQuery. In this tutorial, we will show how to show image preview using jQuery with a simple

Learn More about Show Image Preview using jQuery
2 years ago3 months ago
Generate Random String in PHP
  • PHP

Generate Random String in PHP

In this example, we will generate random string in PHP using multiple methods. PHP does not provide a built-in function for random strings, but we can create them using random numbers. PHP has three different functions to generate random numbers. These functions accept minimum and maximum values and return a random number from that range.

Learn More about Generate Random String in PHP
2 years ago3 months ago
Generate QR Code In PHP
  • PHP

Generate QR Code In PHP

Knowing how to generate QR code in PHP and allow users to download it as an image is an essential skill for developers. QR codes play a major role in industries like online payments, eCommerce, ticket booking, and even on visiting cards. A QR code stores information such as serial numbers or website addresses. When

Learn More about Generate QR Code In PHP
2 years ago3 months ago
Check File Exists or not Using PHP
  • PHP

Check File Exists or not Using PHP

When working with files, it’s important to check file exists or not using PHP before attempting to access them. This prevents errors and improves the user experience by handling missing files gracefully. PHP offers several built-in functions to manage file operations efficiently. In this tutorial, we will explore these functions and demonstrate how to check

Learn More about Check File Exists or not Using PHP
2 years ago3 months ago
Check Database Connection in Laravel
  • Database

Check Database Connection in Laravel

In this example, we will check the database connection in Laravel. Before starting to create a new Laravel application start your database services like XAMPP or WAMPP and change database credentials in the .env file. Here, we will check database is connected and get an active database name using DB helper. To check database exists

Learn More about Check Database Connection in Laravel
2 years ago3 months ago
Get SQL Query in Laravel
  • Laravel

Get SQL Query in Laravel

Sometimes retrieving data in Laravel can return incorrect results or unexpected values. To debug or optimize these cases, we often need to get SQL query in Laravel and inspect the exact query executed. Laravel provides multiple ways to convert Eloquent queries into raw SQL queries, making it easier to analyze and troubleshoot database operations. Using

Learn More about Get SQL Query in Laravel
2 years ago3 months ago
Laravel Get File List from Directory
  • Laravel

Laravel Get File List from Directory

When working with files in Laravel, it’s often necessary to get file list from directory in Laravel to manage or display them efficiently. Using the Storage Facade, we can easily retrieve all files from a directory or sub-directories. While PHP offers multiple methods to list files, Laravel’s built-in approach simplifies the process and keeps the

Learn More about Laravel Get File List from Directory
2 years ago3 months ago
Create Custom Method In Laravel Model
  • Laravel

Create Custom Method In Laravel Model

In Laravel, you can create a custom method in Laravel model to handle specific logic like formatting dates or manipulating attributes. This approach keeps your code organized and reusable whenever you access model data. For instance, we will define a custom method in the model to convert date objects using Carbon and apply type casting,

Learn More about Create Custom Method In Laravel Model
2 years ago3 months ago
  • Previous page
  • 1
  • …
  • 22
  • 23
  • 24
  • 25
  • 26
  • …
  • 30
  • Next page

Recent Posts

  • How to Send SMS Using Python with MSG91 API
  • Understanding Eager Loading in Laravel: Improve Speed and Reduce Database Calls
  • How to Send Push Notifications from Laravel Using Firebase FCM
  • How to Compress Images Before Upload in Laravel
  • Master Async Patterns in Node.js: From Callbacks to Async/Await

Categories

  • AI (4)
  • Angular (4)
  • Apache (1)
  • Apache 2 (2)
  • API (5)
  • Array (3)
  • Barcode (5)
  • Ckeditor (1)
  • Composer (2)
  • CSS (1)
  • CURL (1)
  • Database (4)
  • Django (2)
  • Express (9)
  • Facebook APIs (1)
  • FastAPI (2)
  • Filament (5)
  • Filament 4 (2)
  • Flask (1)
  • Form Validation (5)
  • FTP (1)
  • Git (1)
  • Google (4)
  • Highchart (1)
  • JavaScript (20)
  • jQuery (23)
  • Jquery UI (3)
  • JSON (6)
  • Laravel (129)
  • Library (2)
  • MongoDB (7)
  • MySql (5)
  • NestJS (1)
  • Node JS (29)
  • Payment Gateway (1)
  • PHP (50)
  • Python (25)
  • React JS (2)
  • Redis (1)
  • Software install (11)
  • SQL (1)
  • TypeScript (1)
  • Ubuntu (14)
  • Uncategorized (5)
  • Vue.JS (3)
  • XAMPP (1)
Codewolfy Logo

Codewolfy is online learning platform for beginners and experienced. which covers web development, software development and programming.

Quick Links

  • Privacy Policy
  • Terms of Use
  • Contact Us
  • About Us

  • Laravel (129)
  • PHP (50)
  • Node JS (29)
  • Python (25)
  • jQuery (23)

@ 2025 Codewolfy.