adsense


Friday, 27 November 2015

C++ LANGUAGE WEB BROWSING

COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button



C++ LANGUAGE WEB BROWSING




Web Browsing 


To understand the concept of CGI, let's see what happens 
when we click a hyperlink to browse a particular web page or URL. 

• Your browser contacts the HTTP web server and demand for the URL 
i.e. filename. 

• Web Server will parse the URL and will look for the filename. 
If it finds the requested file then web server sends that file back 
to the browser otherwise sends an error message indicating that you 
have requested a wrong file. 

• Web browser takes response from web server and displays either the 
received file or error message based on the received response. 

However, it is possible to set up the HTTP server in such a way that 
whenever a file in a certain directory is requested, that file is not 
sent back; instead it is executed as a program, and produced output 
from the program is sent back to your browser to display. 

The Common Gateway Interface (CGI) is a standard protocol for enabling 
applications (called CGI programs or CGI scripts) to interact with Web 
servers and with clients. These CGI programs can be a written in Python, 
PERL, Shell, C or C++ etc. 


No comments: