Simple registration form in PHP and MYSQL


In most of the websites and web portals to maintain the separate data for each user we have login system. By logging in to website we can maintain user details and also manage our account. Same time the website admin can find out visitor activity in the website.

Simple Registration Form in PHP

So in order to make this, initially we have to get some details from user. The process of getting the details from user and save it in database is called Registration. In technical terms registration is nothing but creating a unique identity for each member to maintain his data.

Continue reading

Create zip and download multiple files in PHP


In this article am going to explain, how to create a Gmail like multiple file download by creating a zip file in PHP. The files should be in a web directory and we are creating a zip file using PHP and force it to download. You can add any types of file such as image, mp3, pdf movie files or even rar files also. This system is also known as Multiple File Download In PHP

Create zip and download multiple file using PHP

Continue reading

SQL Injection


SQL Injection is a technique of attacking the security of database by alternating the SQL statements through the input fields.
SQL Injection happens when we place the user input data directly to the SQL query without filtering it for the dangers string. If not the hackers will steal your data from database or chances for add, edit or delete the data even the database also.

SQL InjectionCertain SQL servers like Microsoft SQL server have stored procedure to prevent from hacking through SQL Injection. Below i will show you the simple SQL Injection query.

Imagine you have a table called users, where you have data for login function.
Now here is the login check script to check the username and password in the log in process to compare the input field values and back end values.

Continue reading

Create thumbnail image dynamically using PHP


If you are using a large image in websites, automatically loading of the web page will increase it will leads visitors to skip from your web page and navigate to some other websites.

PHP image thumbnail So its better to show thumbnail image which link to larger sized one. So when loading the web page only thumbnail image will display which is loading quickly. For this reason most of the people maintaining two images one for thumbnail and larger sized image.

Download File

But here also we have to maintain two separate files and linked between each others.
PHP Create thumbnail image

Continue reading

Dynamic form field creation in PHP


In some cases we need to create dynamic fields in a form. Like text box, select box or check box etc. the dynamic field creations will depends upon the previous field value basically.

Dynamic form field creation using PHP and Ajax
Click image to view Larger
So in this example I will explain you how to create a dynamic form field for a TV company. Below image will explain you this concept.

Dynamic form creation will be working in the basic Ajax principle. You can read “basic Ajax and PHP” article to get more idea. This type of dynamic form creation system is working on Ajax PHP bases. Find the example file and demo below.

Continue reading

What is PHP and basic tutorial of PHP

PHP means Hypertext Preprocesses. Earlier its calles ad Personal Home page. PHP is developed by Rasmus Lerdorf initially created a bunch of perl scripts called as Personal Home Page.

php-Hypertext Preprocesses In 2008 PHP 5 became the only stable version under development programming language. PHP is a server side programming language using for web development. PHP is usually used for create dynamic web pages,images on website.We can also use PHP for commend line scripting and Client Side-GUI application.PHP is open source and Cross platformed, because of that it can be run in most of the operating systems,web servers and other platforms. PHP also being used in RDBMS (Relational Database Management System).

Continue reading

Create Firefox Search Engine Extension

Create your own firefox search extension

You can see the Firefox quick search box at top right side of the Firefox window. Basically includes Google, Yahoo etc. you can create your own search extension so that is easy to search your websites to your users. In this article i will explain you how to create custom Firefox search engine extension.

Open notepad and paste the following code and change the title and website name and save it with the .src extension.

Add webinfopedia Search Engine

Continue reading