
Search In
In phonegap, if we want to know the device information then we have to add a plugin for the same and from that we will have a device object which describe the hardware and software of the device.
The properties include:
device.name
device.version
d
Step by Step installation of laravel 4.x.
Step 1:
For laravel first we should have composer. So for composer download composer.phar and if you use window then you should use composer window installer.
Step 2:
After uploading composer we will ins
Undefined is a variable in global scope. A variable that has not been assigned any value is referred as undefined.
You can check for undefined in various ways.Here are some ways to check :-
Checking via Strict equality(===)
var a;
if(a=== un
Hi All,
It is quite easy to add a node programmatically in Drupal 7. But it gets little bit complex when we need to add an image to this node as well.
Use the following codebase to add an image to a node programmatically:
global $user_id;
$fil
Sometimes in Joomla you can come across the situation that the default PHP mailing service not working properly. So in such cases you can use SMTP mail service in your site. To set SMTP service in Joomla site with gmail we need to follow the followin
In spring security bydefault the csrf protect in on. As a result it asks for token during login and other requests. Although its not a good practise to disable the protection but we can do it. As we can see in the code below,
http.csrf().disable() ,
Hello Reader! If you developing the website for a global purpose then getting the time zone of your user is a important factor.
In the example below we'll see how to get the user's time zone by using JavaScript and PHP with a custom webpage.
First
Hello readers, today we discuss about "How to call Ajax in wp-oauth Plugin".
"wp_ajax_your_function_name" its a pre define method for loged in users.
You can put the below code into plugin.php file. "getMinorCatList" is a function where ajax can hi
Hello readers, today we discuss about ""
Q. What is Standalone script?
Ans. Standalone is also consider a new software program, it does not involve almost any computer software in addition to this OS to operate. Consequently nearly all software prog
Composer is nothing but a tool which is useful for dependencies management. Composer supports only 5.3.2+ version of PHP. Now a days most of the frameworks are using PHP composer. This idea comes from node's npm and bundler from ruby. You should be f
