Lesson - 65 : Python Advanced - Python CGI Programming : Passing Information using GET method

preview_player
Показать описание
**************************************************
**************************************************

Python CGI Programming : Passing Information using GET method :
It is possible to pass variables through URL. When you are using GET method in the FORM element the information will be send to the destination file through URL using the concept of Query String. 
A Query String is a collection of Name-Value pairs separated by & sign. Every Query String starts with ? in the URL. Consider Following URL: 

While you are passing variables through a URL using query string you have to face following difficulties: (1) The information you are trying to pass to the destination file is visible in the URL. So it is insecure and every one can view the information send by you. Thus it is not suitable for transferring secure information. (2) You can transfer limited amount of information using this method because the information is transferred via URL. 

Рекомендации по теме
Комментарии
Автор

I am getting server error as soon as I print the cgi code..I tried many times. But it's not working. I am working using xampp server.Plz help me

techprogcode
visit shbcf.ru