PHP / 회원 관리 / 세션(SESSION) 추가하기, 로그아웃 페이지

login.php 로그인 한 상태인지 로그인 하지 않은 상태인지 파악하기 위해 login-ok.php로 넘어가기 전에 세션을 시작합니다. 그리고 username을 $_SESSION[ 'username' ]에 담습니다. <?php $username = $_POST[ 'username' ]; $password = $_POST[ 'password' ]; if ( !is_null( $username ) ) { $jb_conn = mysqli_connect( 'localhost', 'codingfactory', '1234qwer', 'codingfactory.net_example' ); $jb_sql = 'SELECT [...]

How to Check If a Value Exists in An Array in PHP

How do I check if a specific value exists in an array in PHP. Write a sample PHP program to check if a value exists in an array. Using PHP in_array() function Use PHP in_array() function to check whether a specific value exists in an array or not. Here is an sample PHP program, […]

How to Send AJAX request with CSRF token in CodeIgniter 4

In this tutorial, will show how you can enable CSRF protection and send AJAX request with CSRF token in the CodeIgniter 4 project. Cross-Site Request Forgery (CSRF) requests are a type of malicious exploit whereby unauthorized commands are performed on behalf of an authenticated user.

How to Install Multiple PHP Version with Apache on Ubuntu 20.04

This tutorial describes the installation and configuration of two VirtualHost on Apache with separate PHP versions. First VirtualHost will work with PHP 5.6 and another VirtualHost will run with PHP 7.2. So just go through this tutorial.

6 Best PHP Frameworks to Develop Agile Applications

Application developers often face challenging situations while creating the best of software components for their clients. The more advanced an…

What Questions You Must Ask While Hiring a PHP Development Company?

Checklist of top questions that you must ask to a PHP development company or PHP developers when you are looking to hire PHP services for your PHP Project.

Top Programming Language for 2020

The most important skill to learn in today’s world is to know how to write a computer program. Today, computers have entered in almost every industry. Be it the autopilot in an aircraft or digital speedometer in your bike, computers in various...

Get Weather Data with Laravel Weather

Get Weather Data with Laravel Weather. Laravel Weather is a good package which we can use to get weather data. It's a wrapper around Open Weather Map API (Current weather). A wrapper around Open Weather Map API (Current weather)

PHP Development Company

As a world’s top leading **[PHP Development Company]( "PHP Development Company")** in the USA, we at Data EximIT is one of the best website development solutions providers. Moreover, our highly...

Know CodeIgniter and Reasons that attract developers towards it

PHP is a most versatile general-purpose scripting language Since 1994 developers are leveraging its benefits in the development process. It offers extensive features and frameworks to develop websites easier and faster. There are several PHP...

Clear Cache in Laravel 6.8 App using Artisan Command Interface (CLI)

In Laravel 6 tutorial, we learn how to use PHP artisan command interface (CLI) to clear the cache from Laravel 6.8 application. How To Clear Cache in Laravel 6.8 Application using Artisan Command Line Interface (CLI)? How to clear route cache using php artisan command? How to easily clear cache in Laravel application? How to clear config cache in PHP Laravel via artisan command? How to clear Laravel view cache? How to Reoptimized class in Laravel via artisan CLI?

How to Use Sweet Alert in Laravel?

This Laravel tutorial explains how to use Sweet Alert in Laravel. Laravel SweetAlert is a Laravel package by Rashid Ali that integrates the popularJavaScript SweetAlert 2 library with Laravel. Sweet Alert is a Laravel wrapper around SweetAlert JavaScript library for showing alert or notification message.

How to Set Up a Full-Text Search In Laravel

Tutorial: Implementing Full-Text Search in Laravel

Top 7 Programming Languages To Learn In 2020

Top 7 Programming Languages To Learn In 2020 | Best Programming Languages 2020. In this video we will discuss about Top 7 Programming Languages of the World 2020 to begin with. programming skills are required in More than half of the jobs listed are in tech.

How to Redirect to HTTPS using Laravel Middleware

This Laravel tutorial explains how to redirect to HTTPS using Laravel Middleware. I believe this is not your first time of hearing about HTTP & HTTPS. So there are lots of things that you can do with Laravel middleware but for this tutorial we are going to check if any HTTP request is entering our application and them force it to use HTTPS.

Share OAuth2 Authentication Across Laravel Projects

This Laravel Authentication tutorial explains how to authenticate users using OAuth 2 and share the authentication across our Laravel apps. OAuth2 authentication across Laravel projects

How to Create a Laravel 6.8 CRUD Web Application from Scratch

This Laravel 6.8 CRUD tutorial explains how to create a Laravel 6.8 CRUD (Create, Read, Update, Delete) web application step by step from scratch. We will build a PHP based web application and also learn how to store data in MySQL database with Laravel 6.8 PHP framework. How to create Laravel 6.8 CRUD App with PHP 7.3 and MySQL Database. Laravel 6.8 CRUD operations and form validation tutorial with examples.

How to build a web-based chat application using Vue.js and Laravel

In this Laravel and Vue.js tutorial, I will show you how to build a web-based chat application using Laravel and Vue.js quickly. With a simple step by step guide, you will be able to create a system that supports user authentication and authorization before participating in a chat session. To make this chat application fully functional, you will leverage CometChat chat infrastructure to enhance the sharing of instant messages.

How to Use Ansible to Install and Set Up LAMP on Ubuntu 18.04

This LAMP tutorial explains how to use Ansible to automate the process of installing and setting up a LAMP (Linux, Apache, MySQL and PHP) environment on Ubuntu 18.04. How to use Ansible to automate the steps contained in guide on How To Install Linux, Apache, MySQL and PHP (LAMP) on Ubuntu 18.04.