Browsing articles tagged with " php"
Jun
18
2011

PHP Forms: Form Security

php-scripting

In my last two php posts, I showed you how to insert and retrieve values from the database. In the scripts done in those stones, we have not used any kind of security and those scripts were only meant to learn those topics. In this stone I will try and teach you how to secure our form from various attacks like XSS, SQL injection etc. Before diving into the code, I would like to talk about [...]

Share
May
29
2011

PHP Forms for Absolute Beginners – II (View Post)

php

In our previous post, we learned how to insert values into the database. Now I will show you how to retrieve the data that we stored. We have two steps: 1) List all the data with their brief description. 2) Detailed information about them. SQL As given in our previous post, we had created a database db_table and table tbl_test. The query is given below for reference. —- Database: `db_table`– —- Table structure for table [...]

Share
May
27
2011

PHP Forms for Absolute Beginners – I

php_form_pic

PHP is a very powerful language to process HTML forms. A very common use of PHP forms is to collect information from the user and process that information for further use. PHP is extensively used for form processing like feedback, contact, sending emails and a lot more. In this tutorial, I will explain you how to make a simple php form with add, view list, view, edit and delete features. This tutorial assumes basic knowledge [...]

Share