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

Search In

How to save Appium server logs ?

The logs that are generated on the Appium server gets removed as soon as we close the server. If there is a need to study the logs to find the root cause of any issue then we have to save the logs before closing the server. Appium provides a way to s

Load view into another view in codeigniter

We can load view into another view in codeigniter by creating a helper function and place the following code. function loadView($view,$data = null){ $CI = get_instance(); return $CI->load->view($view,$data); } Next in the controll

redirect non-www to www url string using htaccess

There must be a situation where we need to redirects all non www requests to www. We can easily redirect user from non-www to www url string using following ways. for example , if a user makes a request for http://mysite.com/param1/param2, so with th

foreach() function in PHP

foreach() function provides an easy way to scan arrays & exactly do the same thing like for loop, so this function is said to be PHP foreach loop. foreach loop works only on arrays. Syntax: foreach ($arrayname as $value) {} Example: In the be

How to pass an arrray in PHP via Ajax

Hello Readers if you want to send the array into another PHP page then you can use the code below:- I have array made by function .push. In array is very large data. How is the best way send this to PHP script? dataString = array(a->b); // arra

How to implode multi-dimensional array keys using PHP v5.5

Hello Readers, If you want to implode the array keys from multi-dimensional array then now PHP 5.5 offers you much easier way to do this. Lets see the example as below:- Array ( [0] => Array ( [studenID] => 54874

Compare strings in php

You will always get a situation where you want to compare the values with each other whether with the integers or with the string comparison. We can easily compare two strings with the help of comparison operator.If the two strings are equal to each

The tabnanny Module in python

tabnanny module helps us to check Python source files for With the help of tabnanny module we can checks Python source files for unclear indentation. If a tabs and spaces are mixed by a file in such a way that throws off indentation, no matter what

Get screenname of current user in liferay

Hello Guys ScreenName is nik name or unique identification of the user and we need to use screenname for user tagging and identify the user in liferay. There are two ways to get screenname of current user : Step 1: Get screenname of curren

Passing Information Using POST Method in Python

We pass information to a CGI program in the POST method. And post packages give the information in exactly the same way as GET methods but instead of sending it as a text string after using post. In the URL it sends it as a separate message. This mes

1 58 363
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: