A Complete Login and Authentication Application Tutorial for CakePHP 4 Part-4

Cake offers a very good tutorial on using the Auth component here, but it's not complete. Here's what we're going to build: A web application that uses Cake PHP's Auth component to login, logout, and access certain pages when the user is not authorized. After the user is logged in, they can go to the dashboard and edit the user

Continue ReadingA Complete Login and Authentication Application Tutorial for CakePHP 4 Part-4
CakePHP 4 Tutorial Part 2: Add, Edit and Delete Operations

In the previous CakePHP 4.x tutorial, we familiarized ourselves with Cake PHP installation, configuration, database creation, data lists, and basic functions. We will now take a look at Cake PHP's powerful features by creating a blog post application as an example.

Continue ReadingCakePHP 4 Tutorial Part 2: Add, Edit and Delete Operations
CakePHP 4 Tutorial for Beginners Part-1 How to Install CakePHP 4

This Cake PHP tutorial will drive you to the right direction for getting started with Cake PHP framework and provide basic guide of Cake PHP application development. Our step by step CakePHP tutorial helps beginners for install and configures the Cake PHP application. You can learn Cake PHP from scratch with our easy tutorial. Also we will develop a sample Cake PHP project and it will help you for better understanding the whole process.

Continue ReadingCakePHP 4 Tutorial for Beginners Part-1 How to Install CakePHP 4
Generate PDF File From MySQL Database Using PHP

In this post I will explain How to generate PDF file from Mysql database using PHP. To generate the PDF file with mysql data content and output. we will use most popular PHP library MPDF which help us to generate pdf file. If you want to install this MPDF library using command prompt go to our project directory and hit this command.

Continue ReadingGenerate PDF File From MySQL Database Using PHP
Contact form send attachment using jquery ajax in PHP

In this Post we will see how to create a contact form send attachment with using jquery Ajax and PHP and also Insert contact form data in database table. Using a contact form with attachments, users can send a contact information file to a support person or administrator. This is enhanced by allowing multiple attachments via the contact form. Some of my readers want to post code for this.

Continue ReadingContact form send attachment using jquery ajax in PHP
PHP Login Script with Remember Me using Cookies

In this post we will learn how to create PHP login script with remember me using Cookies like email and password .If user enters again on the same login page, this data will be entered in the current registration form. This type of login function helps users to reduce user experience and stop entering logins again and again.

Continue ReadingPHP Login Script with Remember Me using Cookies
How to Upload Image in database using jQuery AJAX in PHP Mysql

I use jQuery AJAX to implement image uploads. There is a form with file input fields and a upload buttons. When a form with the selected image file is sent, the AJAX script is run. In this code, a PHP upload request is sent with the uploaded image. The PHP code moves the uploaded image to the uploads folder and insert the image name in database and returns the HTML image to display the preview in AJAX response.

Continue ReadingHow to Upload Image in database using jQuery AJAX in PHP Mysql