Category Archives: Programming

Batch file for building any java application

Batch file for building any java application What is batch file…..? In DOS, OS/2, and Microsoft Windows, a batch file is a text file containing a series of commands intended to be executed by the command interpreter. Article on wikipedia … Continue reading

Posted in Programming, Widget | Tagged , , | Leave a comment

Secure login using java servlet

The user authentication is the common task when we create a web application. The servlet have j_security_checkĀ  authentication method. This is commonly called as form based authentication. Here the steps for this authentication. This is in your index.jsp or login … Continue reading

Posted in Programming | Tagged | 2 Comments

How to create and use private / public keys

Hi all, Here the document for how to create private and public keys for login. This is more helpful others can login to your machine without disclose the password. How to create private key for my machine..? Go to /home/root/.ssh … Continue reading

Posted in Linux, Programming | Tagged , | Leave a comment

How to add Return-path in php mail

Here is the code for add Return-path in php mail programmatically. $today = date(“F j\\t\h Y, g:i a”); $name = ‘Yourname’; $from = ‘frommail@example.com’; $to = ‘tomail@example.com’; $cc = ‘ccmail@example.com’; $bcc = ‘bccmail@example.com’; $subject = ‘Example Subject’; // To send … Continue reading

Posted in Linux, Programming | Tagged , | Leave a comment