
Search In
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
SESSION-
A session contains user information on server side. When a user opens a page, then the information is first transferred to the server, then php will match that information to the server-side cookie.
If the browser is closed once, all the d
PHP script is used in a HTML form to allow users for uploading a file from a folder or server. Whenever user do so initially the file is in the temporary directory after it will relocated into the target destination. The uploaded file could be anythi
We can use php and html to upload the file to the server.
Initially the file are added to the temporary folder and then are transfer to the server by using the script.
phpinfo.php define the temporary file that is used for the upload.
The fi
Design Patterns: Hello Readers, This is a small blog on design patterns , hope this blog will help you to understand this topic. Microsoft design pattern Theory is, "The document introduces patterns and then presents them in a repository, or cat
PHP Session is defined as a storage type which hold the values that are set to the $SESSION[], until we attempt to destroy the session.
Whereas Cookies are the temporary and also have the small storage.
For each data, the name, value, expiration peri
SQL data type is an attribute that tell us the type of the object.
SQL server has 6 type of datatype
Exact numeric data type
1. bigint- Range start from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
2. int- Range start from -2,147,483,6
Hello Readers,
Today's post is about Cordova device plugin that describes the device's hardware and software.
We need to install cordova device plugin via CLI:
$ cordova plugin add cordova-plugin-device
This plugin defines a global objec
Hello reader's in this tutorial we will find an array by searching. We will search an specific array's value and get the array element index if found.
We are going to use a Array object methods indexOf and lastIndexOf which is in the new (E
Lets suppose we have articles listing page and we need to show the 10 article per page. So there are we can use 'will_paginate' gem to divide the articles in number of pages.
There are the following steps to integrate the 'will_paginate&
