 Dear students, this module is a continuation of the previous module, which was part one. This is the part two, that how we submit the form to the server and what script should be at the server, which will handle what has been submitted from the client side to the server side. So, let's look at the coverage of this module. This is again kind of a very comprehensive module, which goes into the nitty-gritty details of what was submitted and how it's going to be processed. So let's dive into more detail. So we have something called as the super global variables. So what the super global variables are is that when we are declaring all those variables and we have declaring in the sense that we are using them, right? And these variables are stored in the super global variable. And we can write the PHP script to access the super global variables and get what we are interested in. That is the purpose of having those super global variables. And what are those arrays? Those arrays are for the get, for the post, we have discussed in lot of detail get and post in the prior modules, which points to the importance of these and then is the request also. Okay? So this example over here is that how do we get the email address, which is stored in the super global variable. So this is the strength of PHP programming. So you can see this membership form over here. This is a membership form. And we are asking for the first name, the last name, the email address, the gender. There's a checkbox, there's a drop down menu and all those things. So we have this reset form over here and we have this send details form over here. Now this reset form, you know that if we click on it, it will set to the default values, which could be empty, which could be anything as defined in the form. And this send details will send it to the next page. Next page or it could generate the next page for you dynamically. So let's see what that page would be. And overhead look at this is done locally. And this is an HTML page. This is an HTML page. This is done locally. So you have to be careful about it. So this is the confirmation script. So what does the confirmation script tells us? What we are getting from the confirmation script. The confirmation script is basically this is generated. This is the thank you message over here and this script is generated. This script is generated and what it will display corresponding to this script, what will be displayed? We see on the next slide, this is going to be displayed. And you see that the extension, this is PHP. This is dynamic. This is dynamic page. The previous was a static page. And this is for the confirmation. And I've shown you the code, what goes behind this. And how does this works? How does this works? Let's look at it. That how it works. So basically what we have over here, we have these post working over here. And we have this email address over here. And you can see over here, this is displayed. This is displayed over here, ECO over here also. And this is how it's working. And this is going to the done dynamically. So dealing securely with the form data, what is to be carefully observed with the form data, don't display the passwords. Of course, when you generate that dynamic page, which carried the data from the previous page, the password is not going to be displayed. No direct ECO or print user input. No direct ECO. Remember that the second page I showed you thank you page that was a dynamic page that was generated from the server. So if the data is passed to the server without validation, that text box, for example, goes and takes the data to the server. A malicious user can make use of that data being passed to the server. Therefore, you don't do this directly. And you have to validate the user input before you display it. Validation means that if there is undesired or undesirable material, which is going to be passed, that has to be blocked from going to the server. It is not that simple. I believe you understand this. So what if the form is empty? What is the form is empty? So handling the empty form fields. So if the text input field is empty, the field name is sent along with an empty value. If checkbox is empty, nothing is sent. Radio button is empty, nothing is sent. Okay. Reset button, nothing is ever sent. Nothing is ever sent because it will set it to the default value. Hidden field, the field name is sent along with an empty value. Okay. When the hidden was empty, list box, nothing is sent at all, multi select box, nothing is sent at all. So you see the point over here is that how the empty data which is being sent in the form is handled. Okay. Where it is handled, the client is capping these things. You don't have to bother the server with all those things. So that's all I have for this module.