Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Getting Device info using phone gap

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

Laravel 4.x Installation And Server Requirements

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

Checking for undefined in Javascript

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

Attaching image files to nodes programmatically in Drupal 7

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

How to use Gmail as a mail server in Joomla?

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

How to disable csrf spring security 4

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() ,

How to get the user's time zone using PHP and Javascript

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

Ajax call in wp-oauth plugin

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

How to use WPDB in standalone script?

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

New term for PHP, Composer

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

1 18 76
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: