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

Search In

Parsing CSV file using php SplFileObject class.

The SplFileObject class provides an object oriented interface for a file. $file="upload_file.csv"; //file to parse Steps: 1) Create SplFileObject class object to the csv file. $srcFile = new SplFileObject($file); 2)Now loop till end of file f

Maven build issue due to -jre or jdk

Error after running Maven install Error: Unable to locate the Javac Compiler in: C:\Program Files (x86)\Java\jre6..\lib\tools.jar Please ensure you are using JDK 1.4 or above and not a JRE (the com.sun.tools.javac.Main class is required). In most

Polymorphism Java

Polymorphism in Java OOP's a very important jargon in the programming world, and many of us are familiar with this word, Object oriented Programming. Polymorphism is a main pillar of OOP,s by definition it is the ability of an object to take on

Cakephp - Using Config.php

We can use config.php in cakephp to define constant which need to be used in our whole project example we have different role id for different users.We can define those user corresponding to their role id and can easily access them through out the p

ASP.NET MVC 4 New features.

ASP.Net Web API. Default templates for new project is enhanced. Templates for Mobile Projects. New Display Modes feature. JQuery Mobile, the View Switcher, and Browser Overriding. Task support for asynchronous controllers. Azure SDK. Database migra

How to check the Network availability for 3G and 4G connection

Following code will help in you to check the network availability for 3G and 4G connection const char *host_name = "google.com"; BOOL _isDataSourceAvailable = NO; Boolean success; //Creates a reachability reference to the specif

Foundation-5 Cheat sheet

Hello Friends, In the era of new HTML Concepts or platforms like- Bootstrap, Foundation. We are using these platform to make our HTML more elegant and in a responsive Form. Today I am adding something for Foundation CSS platform. Lets have a l

Difference between addEventListener and onclick

Both onclick and addEventListener javascript function will work but sometimes it creates problem for developers to understand what the exact difference of these two's are. var h = document.getElementById('a'); h.onclick = function1; h.onclick = func

DNN – Could not load file or assembly or one of its dependencies

Try the below mentioned points to make it work properly Delete all files in "Temporary ASP.NET Files" Folder, "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files". Version number(v4.0.30319) will be change, based on the installed

Sorting the elements of array

In this tutorial we will learn how to sort the elements of an array on the basis of the keys or values as per the requirement.We will discuss the following sorting functions with example: sort() rsort() asort() ksort() arsort() krsort() sort(

1 … 37 … 557
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: