CodeLobster – One Of The Best Free PHP Editors
Oct04

CodeLobster – One Of The Best Free PHP Editors

Most web developers need IDE designed to work with HTML, JavaScript, CSS and PHP. One of the market leaders in this segment is CodeLobster . Foremost, the program is free (with a basic set of functions). Secondly, it contains everything you may need in the process of web development. Thirdly, it has a convenient and easily configurable interface. The main program window is divided into several functional areas. The central one is the...

Read More
How To Upload File To Server Using PHP & Save The Path In MySQL
Aug02

How To Upload File To Server Using PHP & Save The Path In MySQL

When it comes to uploading file, the best way to do it, would be to upload the file to a file server and save the path of the file in the database. In this case, I have used PHP to upload the file to a directory and save the path of the file in the MySQL database. Basically, you will need a simple HTML form and a PHP code to upload the file. So, here’s the HTML form. XHTML form method="post" action="upload.php"...

Read More
How To Create A Simple Login Form Using Java Servlet And MySQL DB
Jul30

How To Create A Simple Login Form Using Java Servlet And MySQL DB

Java Servlets are basically objects which sends back a response based on the incoming request. They are basically used to extend the functionality of a web server. To implement a servlet, you need to have the servlet-api.jar and since we’re using MySQL for DB authentication, you also need to have the mysql-connector-java-bin.jar. Without these two, your application won’t run. If you’re using Netbeans and have...

Read More
Parsing XML In Java Using Java DOM Parser
Jul12

Parsing XML In Java Using Java DOM Parser

One of the easiest way to parse XML using Java is to use the DOM parser. The first step is to import the libraries that you need to parse and retrieve the tag values from the XML. Here’s a sample XML that I have used. <?xml version="1.0"?> <employee> <emp empno="123"> <firstname>Rahul</firstname> <lastname>Singh</lastname> <salary>8500</salary> </emp> <emp...

Read More
3 Easy Steps To Create A Simple JSP Login Page With MySQL
Feb28

3 Easy Steps To Create A Simple JSP Login Page With MySQL

MySQL has always been my favorite database because it’s very easy to use. All you have to do is install a local server and get right into it. I recently started experimenting with JSP. For any application, the first thing that I do is build a login page. Building a login page helps because there’s a database connection involved. You get to know how the data is flowing. What I’ve done is created a simple JSP Login...

Read More
4 Ways To Prevent SQL Injection Attacks in PHP
Feb22

4 Ways To Prevent SQL Injection Attacks in PHP

SQL Injection Attacks are very common throughout the web. Hackers are known to use malicious SQL queries to retrieve data directly from the database. It basically exploits a security vulnerability. They are most common in online applications where the inputs are not correctly filtered. Consider the following login code : Sample Login Code in PHP <html> <head> <title>Demo Login</title> </head> <body>...

Read More
Add and Remove Controls Dynamically in Windows Forms Application in C#
Aug10

Add and Remove Controls Dynamically in Windows Forms Application in C#

Few weeks back, I described how to add and remove components dynamically from a JPanel in Java. I used the same approach for C# .NET. The logic is completely same however there are slight variations in the syntax. SO, here’s how you can add and remove controls dynamically in Windows Forms Application in C# .NET. Working of the GUI I have kept the GUI similar to the previous one. There are two combo boxes and one text box. There...

Read More
Building a Java Web Start Application
Aug08

Building a Java Web Start Application

While checking out some tutorials of Java on the Oracle website, I discovered that they were using Java Web Start Launcher Applications as demo for the viewers. Basically the applications are JNLP FilesĀ  ( Java Network Launch Protocol ). For the applications to work, you do need to have Java installed on your system. The main advantage in using Java Web Start technology is you can deploy independent software on any system over the...

Read More
Windows Forms Application Login Demo with MySQL Connection in C# .NET
Jul30

Windows Forms Application Login Demo with MySQL Connection in C# .NET

After testing out Java for a couple of weeks, this weekend I decided to try out .NET. I am a big fan of web applications but recently I’ve taken an interest towards Java and Windows Forms Applications. So, the first thing that came to my attention was the Windows Application Forms in C#. So, basically I’ve used Visual Studio 2012 and for database I’ve used EasyPHP Dev Server because MySQL is my most favorite...

Read More
Adding and Removing Components Dynamically from JPanel with MySQL Database
Jul23

Adding and Removing Components Dynamically from JPanel with MySQL Database

During one of my PHP projects last year, I had to add and remove some components dynamically. Since it was on PHP, I had used jQuery for that purpose. I’m currently working on bringing that project over to Java. The first thing that I looked up on Google was creating dynamic variable names because I need it specifically for that purpose. The answer is a big NO. So, here’s a simple way of adding and removing components...

Read More

Pin It on Pinterest

badge