Search In
SQL injection is a technique where malicious users can inject the SQL commands /queries into an SQL statement, resulting in false input of the web page and the security of a web application.
Eventually CakePhp already protects the application again
If you are making a Ajax request to submit a form that include files then HTML5 FormData is the solution for that. You can also used jQuery form for upload files using Ajax request.
First, we need to add jQuery code to submit function which is calle
Hello if you want to get last insert id or something equivalent to this you can try following steps:-
Lets take this example, Here I just inserted the field in column
$data = array('menuName' =$_REQUEST['menuname'])
$this->Menu->crea
Hi All,
In this blog we will discuss about how to set checkbox checked in cakePhp application.
You should set the checkbox checked/selected with the 'selected' option.
For example-
You can find a list of categories from the database table called
The Nullable Types in C# language:
The nullable data types were included to value data types with C# language in the year 2005. This feature allows us to assign the null value to a value-type variables. You need this functionality with databases wh
Go to Structure -> Blocks Here you can fill the information regarding a block like,
Block Title (you can override the default title for the block. Use to display no title, or leave blank to use the default block title. This field supports toke
Different Types Of Software Design Levels:-
In the software engineering field software designing is a main section. We can categorized into three sections of the software designing these are as--
Architectural Design
High-level Design
Detailed De
PDO is PHP Data Objects which is used to connect to any database. Benefit of using PDO is that if there is any problem in our query it has an exception class to handle it. If any exception thrown to the try block, the script stops and directly flows
Recordset operations is used to make ids and function in Odoo module. The operation are given below.
ids
List of actual record ids in this recordset (ignores placeholder ids for records to create)
ensure_one()
Verifies that the current recorset holds
Validation in cakePHP is on the client side and on the server side.
Client side validation is on the js file that is in the webroot folder.
Server side validation is on the model which we are using.
Client side validation is important as it do not