Codxplore.com

Latest news:

Quran ul karim is a free Quran application for android. This application is advertisement free application for android smartphone. Download from https://play.google.com/store/apps/details?id=com.akramhossain.quranulkarim&hl=en

742
Views
Yii oracle database connection in windows

Yii oracle database connection in windows

In this post we will learn how to connect oracle database using PHP Yii framework. Following steps we need to follow to accomplish this Enable php_oci8.dll extension Restart the apache server Add connection string DB username DB Password Adding charset(optional) At first we need to enable php_oci8.dll extension. This extension is used to connect our application to Oracle Database. We
821
Views
PHP convert datetime to selected timezone

PHP convert datetime to selected timezone

PHP DateTime class provides all the date and time processing functionality. The DateTimeZone class provides DateTime objects with all the required time zone information. DateTimeZone require the timezone name as string format and it will return an object representing datetime of that particular time zone. We need to follow these steps to convert any datetime to particular time zone: Create a
671
Views
MD5 encryption using java

MD5 encryption using java

In this tutorial we will learn how to create md5 hash in java. To create md5 hash in java we need follow below steps. Import java.math.BigInteger. Import java.security.MessageDigest. Import java.security.NoSuchAlgorithmException. Create MessageDigest object for MD5 Update input string in message digest Converts message digest value in base16 (hex) If md5 generated successfully return md5
661
Views
MySQL database connection using java

MySQL database connection using java

For connecting to MySQL database using java we need to do following. Java driver class name for MySQL: com.mysql.jdbc.Driver Database connection string or connection url: jdbc:mysql://localhost:3306/addressBook jdbc is the api name. mysql is the database managment software. localhost is the name of server where MySQL is installed. 3306 is the port port number. addressBook is the name of d
701
Views
how to export mysql data to csv in java

how to export mysql data to csv in java

In this article i will explain how to export MySQL table data to csv file. To export data to csv at first we need to connect our application to MySQL. You can follow this tutorial  to learn How to connect to MySQL database in java. We need to follow these steps in order to export data to csv. Connect to MySQL. Use FileWriter Class. Get Data from MySQL table. Append data to csv file Flash

Subscribe Us


Follow Us