
Search In
In order to use the auth component. You have to add the component to the AppController. (/app/Controller/AppController.php)
var $components = array('Auth');
Define $components array in your controller.
public $components = array(
'Auth' =>
Hello Reader's if you need to get all the files that exists inside any directory then you can get it by using codeigntier FTP class library. This is quick and very easy to get result.
For example if you have amazon S3 bucket and you wish to get all
Joomla Toolbar are the buttons that we have used several time for performing the functionalities. Whenever you open any component of Joomla from admin section you have seen buttons such as New, Delete, Edit, Publish, Unpublish and Parameter
Hello Reader's, If you are developing an Arabic website where you want to convert English date into Arabic Date then this blog is very helpful to you.
In Hijri date the number symbols are convert into islamic language.
So first we need a
ASP stands for Active Server Pages. By using ASP built-in objects, we can get the information related to the web server, web pages in the web application etc. the built-in objects are categorized according to the information it contain.
Following ar
Hello readers !
Today we discuss about "WordPress Short Codes".
Short-codes:- a short-code is a shortcut to put things simply. short-codes are WordPress-specific pieces of code that do things that would otherwise require technical knowledge or whi
Some time we need to convert the html page to pdf dynamically.
Like we are getting some form filled and then we want the data to be converted to a pdf file that is downloadable by the user.
We use fpdf for that in cakephp.
fpdf is basically a clas
In magento sometimes we need to add fields to the existing table or create a new table for our module, for this purpose we are required to write the installer script instead or performing the operation directly on database.
Lets see how we c
HABTM association is used when you have two models that need to be joined up, repeatedly, many times in many different ways.
So below is the following steps to follow to use the above relationship. First we create the database and its tables
The Tab
PHP Superglobals are always accessible regardless of their scope, i.e., we can access them from any function, class or a file without even declaring them. Superglobals are available in all scopes throughout a script. There is no need to do global $va
