Featured
-
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Best 5 Lightweight PHP Frameworks for REST APIs Development
Are you ready to develop the Rest AP
by ankur.kumar -
PHP: Full-Stack Framework vs Micro Framework
A web framework can be described as a software fra
by ankit.bhatia -
How to get facebook profile picture by Facebook App
If you would like to get your profile picture in f
by vivek.rastogi -
Creating RESTful API in cakephp
This tutorial will help you to learn how to create
by pushpendra.rawat
Tags
How to create Category Tree Structure in cake php
Hello readers. This is a small blog on Tree structure. How to add , update and delete category in this structure. Now we will create a category tree using cakephp. Category tree is like parent - child type records. Well will add new category, upd...
Implementing captcha in cakephp
Captcha is a test which can't be pass by computer but it is very easy for the humans to pass it.
For implementing captcha in cakephp we have to follow simple steps.
Step1:- First we have download captcha package from https://github...
CakePHP find conditions
Find is the data-retrieval functions in cakephp.
Below is the list of CakePHP find conditions :-
Name
Default
Description
type
'first'
it can be 'all...
How to export data in Excel sheet from database
Hello Readers!
Here is a simple line of code to generate an excel file of data fetched from database. Users benefits with the compact and secure form of saving data.
Firstly create a helper file in view/Helper folder and paste the...
How to Create Database in cake php
CakePHP database configuration details are in a file that is located at app/Config/database.php.
This database file user can edit the file in the notepad or sublime and can edit the feilds by which it will be connected to the database.Filling al...
Save Session in databse in CakePHP
In CakePHP you can store the Sessions in the database , So lets try to implement this :
Because you are storing the session in databse so first you need to create a table in DB so that you can store the session
CREATE TABLE IF NOT EXISTS `c...
Password hasing in CakePHP
CakePHP uses a Security class for hashing the passwords.
I am writing some examples below that will definitely help you out in understanding the different ways of password hashing in CakePHP:
echo "I am md5 CAKE:".Security::hash("dinesh","md5...
compact() or set() in cakephp
set() is the way to set values in your controller and get those values in your view file.
Syntax of set is-> $this->set('variable','value')
In cake-php controller you can set the values as -
set('variable1','value1');
$this->...