Browsed by
Month: January 2014

SHA256 in PHP sample Program

SHA256 in PHP sample Program

SHA256: SHA256 is also like md5 to generate the hash key to store and pass the secured informations. SHA256 in PHP sample Program: <?php $input = ‘Javadomain.in’; $md5_value = hash(‘SHA256’,$input); echo $md5_value; ?> Output: be7835a987c2e8d7ce0b97182944a11644644c8db01e32c6659f8989f5d1fca6 434 total views, no views today

434 total views, no views today

MD5 in php example

MD5 in php example

MD5: MD5 can be used to store password or high secured data as a hash key. Sample PHP Program: <?php $input = ‘Javadomain.in’; $md5_value = md5($input); echo $md5_value; ?> Output: c63cbe49e06e44e05a20adf9433ad4a4 556 total views, no views today

556 total views, no views today

LISTAGG EXAMPLE IN ORACLE

LISTAGG EXAMPLE IN ORACLE

LISTAGG EXAMPLE IN ORACLE: LISTAGG can be used to get all the row values in single row. Example: [STUDENT_TABLE] Student_id Student_Name Course_id 1                   Naveen                A100 2                   Hems                  A130 3                   Chudar               A100 4                   Balaji                  A100 5                  Aravind                A120 6                   RVS                    A130 7                    JP                      A130 8                    Arun                   A120 9                  K Aravind             A100 Now you want to get the result with respect to the course_id then the query will be, SELECT LISTAGG(Student_Name,’,’) WITHIN GROUP (ORDER BY Student_Name) from STUDENT_TABLE group by Course_id;…

Read More Read More

748 total views, no views today

JSON in PHP Example

JSON in PHP Example

PHP Program Sample: <?php $place = ‘Arcot’; $pincode = ‘632503’; $place_pincode = array($place=>$pincode); $json_value = json_encode ($place_pincode); echo $json_value; ?> Output: {“Arcot”:”632503″} 742 total views, no views today

742 total views, no views today

Oracle Date Formats examples

Oracle Date Formats examples

The below are the mostly used oracle date formats: MM/DD/YYYY HH.MI.SS – 01/23/2014 08.41.56 MM/DD/YYYY HH24.MI.SSFF – 01/23/2014 08.41.56066000 MM/DD/YYYY HH24.MI.SSXFF – 01/23/2014 08.41.56.066000 MM/DD/YYYY HH24:MI:SS AM – 01/23/2014 08:41:56 AM MM/DD/YYYY HH24:MI:SS PM – 01/23/2014 08:41:56 AM Please add if you know any other oracle date formats in the comments area. 611 total views, no views today

611 total views, no views today

[solved] java.lang.UnsupportedClassVersionError: : Unsupported major.minor version 51.0

[solved] java.lang.UnsupportedClassVersionError: : Unsupported major.minor version 51.0

java.lang.UnsupportedClassVersionError: : Unsupported major.minor version 51.0 Root cause: Project/Program would have compiled in some version and trying to run in some different version of jdk. Possible Solutions: In Eclipse, right click on the project Properties -> Java Compilers and change the compiler compliance level to 1.5/1.6/1.7 and try. Please comment if you found any other solutions for the same problem. 451 total views, no views today

451 total views, no views today

How to get payment gateway approval (payzippy) ?

How to get payment gateway approval (payzippy) ?

How to get payment gateway approval for your website ??? I got payzippy payment gateway approval for my website. What I Did ? 1. Signed up in payzippy gateway website. (payzippy.com) 2. They mailed me list of documents to be submitted and signed. These are the minimum required documents list, 1. Company Registration certification 2. Address proof 3. Current Account on company name 4. PAN Card 5. Current Account last 3 months transaction details Your website should have these details,…

Read More Read More

572 total views, no views today

Dynamically changing the select box value in html using javascript

Dynamically changing the select box value in html using javascript

You would have seen in many recharge websites, After entering your mobile number, operator will be chosen automatically. Here you can find how they have implemented that with sample snippet, <html> <head> <script type="text/javascript"> function Operator(input){ var element = document.getElementById(‘oprCode’); if(input == 9943){ element.value = "VF"; }else if(input == 9962){ element.value = "AT"; }else if(input == 7200) { element.value = "TD"; }else if(input == 8124) { element.value = "ID"; } } </script> </head> <body> Enter Your Mobile Number <input type="text"…

Read More Read More

509 total views, no views today