Hooks in CodeIgniter Hooks executes a script with specific path in codeigniter execution process without modifying the core files of codeigniter.CodeIgniter’s Hooks feature provides a means to tap into and modify the inner workings of the framework without hacking the core files. When CodeIgniter runs it follows a specific execution process, diagramed in the Application Flow page. There may be instances, however, where you’d like to cause some action to take place at a particular stage in the execution process. For example, you might want to run a script right…
CSRF protection In this article,we will learn how to painlessly protect your CodeIgniter (pre 2.0) application against Cross-Site Request Forgery attacks. CSRF is an inbuilt feature in codeigniter.To enable csrf protection you have to just need to enable it under the config file. Once it has been enabled all the forms will be secured.
Laravel Form For Beginner One of the very basic requirements of all online applications is that the user should be able to enter data. Web forms are the most commonly used methods for entering data into an application and so they are a fundamental thing that you need to get right. Laravel is a framework that aims to make developing and maintaining web applications as easy as possible. One of the ways this is achieved is by having an excellent Form class that makes creating and interacting with forms extremely…
Month Selection Field In Laravel Laravel is most famous php framework nowadays. It has lot of inbuilt functionalities to develop your application before the deadline. Suppose if we need to display a select box with 12 months listed the only solution to this is
Applying conditions to queries gives you to power to retrieve and present filtered data in every imaginable manner. Some of these conditions will be used more than others, and Laravel provides a solution for cleanly packaging these conditions into easily readable and reusable statements, known as a scope. In this tutorial I’ll show you how to easily integrate scopes into your Laravel models. Consider a filter that only retrieves completed list tasks. You could use the following where condition to retrieve those tasks:
C++ allows you to specify more than one definition for a function name or an operator in the same scope, which is called function overloading and operator overloading in c++ .
Serialization in java provides a thing known as object serialization.It means that an object can be represented as a sequence of bytes which includes object data as well as information about the object type and information of data stored in object.Classes ObjectInputStream and ObjectOutputStream are high level streams which is defined for serializing and deserializing an object.