all Tutorials

11. smskannel SMS gateway run in background

By: Ram : 2015-04-24

Description: To make the smskannel run in the background you need to run the following two commands.

12. Update contents of a file within a jar file

By: Naren : 2015-04-24

Description: Recently there was a change of IPs in my servers. Therefore some of the applications stopped working. For example, there was an application that was running as an executable jar file. The access to other resources from that application was using IP Addresses and there was a config file named bcconfig.xml that had all the IP addresses of various resources the application needs to access.

13. PHP code to import from CSV file to MySQL

By: Nate : 2014-10-06

Description: After playing a while, I'm confident the following replacement function works in all cases, including the ones for which the native fputcsv function fails. If fputcsv fails to work for you (particularly with mysql csv imports), try this function as a drop-in replacement instead.

14. PHP code to write to a CSV file from MySQL query

By: Jamie : 2014-10-06

Description: Utility function to output a mysql query to csv with the option to write to file or send back to the browser as a csv attachment.

15. PHP code to write to a CSV file for Microsoft Applications

By: Soapergem @ gmail . com : 2014-10-06

Description: I've created a function for quickly generating CSV files that work with Microsoft applications. In the field I learned a few things about generating CSVs that are not always obvious. First, since PHP is generally *nix-based, it makes sense that the line endings are always \n instead of \r\n. However, certain Microsoft programs (I'm looking at you, Access 97), will fail to recognize the CSV properly unless each line ends with \r\n. So this function changes the line endings accordingly. Secondly, if the first column heading / value of the CSV file begins with uppercase ID, certain Microsoft programs (ahem, Excel 2007) will interpret the file as being in the SYLK format rather than CSV, as described here:

16. Convert XML to CSV in PHP

By: David Thomas : 2014-10-06

Description: Output XML string as CSV with first row as column headers

17. Password must include both numeric and alphabetic characters - Magento

By: Emiley J : 2014-02-08

Description: While installing a fresh Magento installation, some users are stuck at the 'Create Admin Account' step, with this error: 'Password must include both numeric and alphabetic characters.'. Follow this simple step to resolve this issue.

18. What is Hadoop?

By: Emiley J : 2014-01-19

Description: Besides these big players, there are Open Source of alternatives such as The Apache Hadoop software which is actually a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models. It is designed to scale up from single servers to thousands of machines, each offering local computation and storage. Rather than rely on hardware to deliver high-availability, the library itself is designed to detect and handle failures at the application layer, so delivering a highly-available service on top of a cluster of computers, each of which may be prone to failures.

19. Returning multiple values from a web service

By: Emiley J : 2013-08-15

Description: Although this is quite a common requirement, it could be quite a daunting task for a beginner learning web service. I have seen so many questions in various forums regarding this. For example, one popular question is how to return a HashMap from a web service. In this tutorial, I will keep it very simple. I will just return two values from the webservice instead of one.

20. Tomcat and httpd configured in port 8080 and 80

By: Emiley J : 2013-07-21

Description: When you install Tomcat in your server, by default it uses port 8080. Typically in a linux system, you can install apache2 or httpd as a web server that handles the default port 80 and then uses mod_proxy to send requests to Tomcat at port 8080 for sites hosted in Tomcat.