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
Hosting MySQL Databases on Google Cloud SQL
Feb14

Hosting MySQL Databases on Google Cloud SQL

Google Cloud SQL is actually a very good alternative for storing MySQL databases within the Google Cloud. Google has been developing new cloud projects which aims at providing different kinds of service especially big business and corporate houses. The Google Cloud SQL can be used to store and manage data using a relational MySQL database. One of the biggest advantages of Cloud SQL is that it runs fast which results in faster server...

Read More
Build A Responsive Website Easily : 4 Mobile Friendly Website Builders
Jan11

Build A Responsive Website Easily : 4 Mobile Friendly Website Builders

These days, aspiring webmasters are blessed with many easy-to-use web building and publishing tools especially mobile friendly website builders. Though most of them are based on the intuitive drag-and-drop and What-You-See-Is-What-You-Get editing principles, they’re suitable for creating full-fledged websites of different complexity. Behind the incredibly user-friendly interface they hide powerful code converters and other...

Read More

Pin It on Pinterest

badge