Cake PHP 4

8 Results

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

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.

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.

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.

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.