Download CGI programming on the World Wide Web by Shishir Gundavaram PDF

By Shishir Gundavaram

ISBN-10: 1565921682

ISBN-13: 9781565921689

The realm broad net is greater than a spot to place up smart records and lovely images. utilizing the typical Gateway Interface (CGI), you could provide interactive queries and serve immediate info from databases, labored up into colourful pics. This e-book bargains a finished clarification of CGI and comparable concepts for those that carry directly to the dream of offering their very own info servers on the internet. the writer starts off before everything, explaining the worth of CGI and the way it really works, then strikes speedily into the delicate info of programming. nearly all of examples use the most typical platform (UNIX) and the most well-liked language (Perl) used for CGI programming this day. although, the booklet additionally introduces the necessities of making CGI paintings with different structures and languages.

Show description

Read Online or Download CGI programming on the World Wide Web PDF

Best data in the enterprise books

Broadband: Should We Regulate High-Speed Internet Access?

Supplying a cutting-edge research of the economics of broadband, researchers and students give a contribution essays with diverse and occasionally opposing perspectives on the best way to keep an eye on high-speed web provider. Alleman (Columbia Institute of Tele-information) and Crandall (economic reviews, Brookings establishment) edit 12 essays with subject matters together with the call for for bandwidth: facts from the INDEX venture; festival and law in broadband communications; and the monetary results of broadband rules Asia Encounters the Internet (Asia's Transformations)

The web is constructing swifter in Asia than in the other quarter of the realm. This e-book is the 1st entire research of the data society in an Asian context, and the impression of those applied sciences in Asia. those affects are necessarily asymmetric and conditioned by way of problems with telecommunications infrastructure, govt rules, cultural and social values, and financial realities.

Quality-Driven SystemC Design

Confronted with the gradually expanding complexity and quickly shortening time-to-market specifications designing digital structures is a really not easy job. to regulate this case successfully the extent of abstraction in modeling has been raised prior to now years within the laptop aided layout neighborhood.

Phishing Dark Waters: The Offensive and Defensive Sides of Malicious Emails

An important anti-phishing table reference for a person with anemail handle Phishing darkish Waters addresses the starting to be and continuingscourge of phishing emails, and offers actionable defensivetechniques and instruments that can assist you stay away from malicious emails. Phishing is analyzed from the perspective of human decision-makingand the influence of planned effect and manipulation on therecipient.

Additional resources for CGI programming on the World Wide Web

Example text

A status value of 200 indicates success, while a value of 400 constitutes a bad request. In addition to these two, there are numerous other status codes you can use for a variety of situations, ranging from an unauthorized or forbidden request to internal system errors. 3 shows a list of some of commonly used status codes. html Unfortunately, most browsers do not support all of them. /usr/local/bin/perl print "Content-type: text/plain", "\n"; print "Status: 204 No Response", "\n\n"; print "You should not see this message.

It is not displayed by the browser, but is used to label the data when transferred to the CGI program. For example, the first input field has a NAME="user" attribute. If someone types "andy" into the first input field, then part of the data sent by the browser will read: user=andy The CGI program can later retrieve this information (as we talked about briefly in Chapter 2, Input to the Common Gateway Interface, and will discuss in more detail later in this chapter) and parse it as needed. The optional VALUE attribute can be used to insert an initial "default" value into the field.

But as we mentioned in Chapter 1 CGI programs can override the header information generated by the server by generating a complete HTTP header on its own. Why go to all the trouble of generating your own header? When your program returns a complete HTTP header, there is no extra overhead incurred by the server. 2. This may mean faster response time for the user. However, it also means you need to be especially careful when generating your own headers, since the server won't be able to circumvent any errors.

Download PDF sample

Rated 4.27 of 5 – based on 28 votes