Other Web Sites

Resources for CGI Scripts

CGI ("Common Gateway Interface") is a scripting technology for web servers. CGI is supported on most common web server software, although not all web hosts provide access to CGI. The main alternatives to CGI are PHP or ASP scripting.

CGI scripts can be written in many different programming languages, but most CGI scripts are written using the Perl programming language.

Product Description:Custom subroutine library for developing your own CGI programs * Line-by-line explanations of 20 of the most popular CGI programs and subroutines that are essential to your Web site * Compatible with Perl 4 and 5 * Tested under WindowsR(r), UNIXR(r), and MacOSR(r)

If you want to make your Web site as interactive as possible, as soon as possible, you've come to the right place! This book/CD powerhouse arms you with 20 of today's most-demanded CGI programs and subroutines, designed and written especially for this book, each ready to load and use. At the same time, it offers you a quick, painless, and unique hands-on way to learn basic and advanced CGI/Perl programming.

The CGI/Perl Cookbook begins with a concise overview of CGI programming for beginners, followed by a guide to installing CGI programs on UNIX, PC, and MacOS Web servers. The rest of the book is devoted to line-by-line, feature-by-feature explanations of seven cutting-edge CGI programs; including a search engine, password protection, advanced form processing, a shopping cart, customized bulk e-mail, advanced visitor feedback, and more; as well as 13 subroutines for e-mail support, file encoding, credit card validation, e-mail address checking, error handling, and text encryption. You also get a usage guide, installation instructions, and professional CGI and Perl programming tricks and customization tips for each program and subroutine.

The CD-ROM is a gold mine of ready-to-use software and valuable information. You get: * All the CGI programs from the book-code and ready-to-run versions * The complete Matt's Script Archive * A collection of the best scripts from across the Web-source code included * The complete Perl programming manual * The most recent Windows, UNIX, and MacOS versions of Perl

Programming on the Web today can involve any of several technologies, but the Common Gateway Interface (CGI) has held its ground as the most mature method--and one of the most powerful ones--of providing dynamic web content. CGI is a generic interface for calling external programs to crunch numbers, query databases, generate customized graphics, or perform any other server-side task. There was a time when CGI was the only game in town for server-side programming; today, although we have ASP, PHP, Java servlets, and ColdFusion (among others), CGI continues to be the most ubiquitous server-side technology on the Web.CGI programs can be written in any programming language, but Perl is by far the most popular language for CGI. Initially developed over a decade ago for text processing, Perl has evolved into a powerful object-oriented language, while retaining its simplicity of use. CGI programmers appreciate Perl's text manipulation features and its CGI.pm module, which gives a well-integrated object-oriented interface to practically all CGI-related tasks. While other languages might be more elegant or more efficient, Perl is still considered the primary language for CGI.CGI Programming with Perl, Second Edition, offers a comprehensive explanation of using CGI to serve dynamic web content. Based on the best-selling CGI Programming on the World Wide Web, this edition has been completely rewritten to demonstrate current techniques available with the CGI.pm module and the latest versions of Perl. The book starts at the beginning, by explaining how CGI works, and then moves swiftly into the subtle details of developing CGI programs.Topics include:

Product Description:If you build web pages you may eventually want to add a guestbook, order form, page counter, or other interactive elements to your website. CGI Programming 101 explains how to do this in simple, easy-to-understand terms. The book shows you how to write useful, real-world web programs, starting with simple guestbook forms and building up to more advanced applications.

You'll learn:

* The Basics: where to write your CGI programs; how to upload them and set file permissions; how to run them, and how to debug them when things go wrong

* How to decode form data and save it to a file or e-mail it to yourself

* How to create, read, write, and search data files

* How to use Server-Side Includes to add dynamic content to your web site, plus a complete list of Apache SSI directives

* How to use random numbers for displaying banner ads and random images

* How to redirect visitors to another site

* How to extend your programs by using modules

* How to create a MySQL database, and write programs that interact with databases using the DBI module

* How to build an online shopping cart program

* How to e-mail attachments using a CGI program

* How to write secure programs, and protect your programs against hackers and spammers

* How to password-protect an area of your website

...and more.

The second edition has been substantially revised, with 100 pages of new material. It teaches good programming practices from the beginning, including use of the industry-standard CGI.pm Perl module. You'll learn how to protect your form-to-mail programs from being hijacked by spammers, how to build a cookie-based shopping cart, and how to develop a password-protected website. Quick-reference pages and an improved index help you find information easily.

There are also several online tutorials to help you set up your own web server and write CGI programs on any computer system - including Windows, Mac OS X, and Unix.

Product Description:In this update of a bestseller, two leading Perl trainers teach you to use the most universal scripting language in the age of the World Wide Web. With a foreword by Larry Wall, the creator of Perl, this smooth, carefully paced book is the "official" guide for both formal (classroom) and informal learning. It is now current for Perl version 5.004. Learning Perl is a hands-on tutorial designed to get you writing useful Perl scripts as quickly as possible. Exercises (with complete solutions) accompany each chapter. A lengthy new chapter in this edition introduces you to CGI programming, while touching also on the use of library modules, references, and Perl's object-oriented constructs. Perl is a language for easily manipulating text, files, and processes. It comes standard on most UNIX platforms and is available free of charge on all other important operating systems. Perl technical support is informally available -- often within minutes -- from a pool of experts who monitor a USENET newsgroup (comp.lang.perl.misc) with tens of thousands of readers. Contents include: A quick tutorial stroll through Perl basics Systematic, topic-by-topic coverage of Perl's broad capabilities Lots of brief code examples Programming exercises for each topic, with fully worked-out answers How to execute system commands from your Perl program How to manage DBM databases using Perl An introduction to CGI programming for the Web

Product Description:The Common Gateway Interface (CGI) is an essential technology for the development of interactive Web pages. This rapidly growing field is one of the hottest areas of Internet development, and the Tool Command Language (Tcl) is ideally suited for all aspects of CGI development. Although Perl is currently the most popular language for CGI development, Tcl is an ideal development environment. Tcl's rich set of string manipulation commands and well-defined syntax greatly facilitate the dynamic creation of HTML documents, a key aspect of CGI programming. In addition to raw power, many extensions, such as Expect, make the Tcl environment ideal for complex scripting tasks, such as automating telnet or ftp sites from inside a Web page interface. CGI Programming with Tcl illustrates the many advantages Tcl holds for CGI programmers and demonstrates how to create powerful CGI applications. This book presents a series of increasingly sophisticated applications, beginning with a simple Hello World application and culminating in Web-based interfaces to back-end databases such as Oracle. Through these examples, you will learn Tcl programming essentials and valuable CGI programming techniques.Specific topics covered include: *A complete review of the CGI specification *How to build and process HTML forms *Debugging your CGI programs *Processing form data with CGI programs *Server Side Includes--allows you to embed commands inside your HTML files Accessing databases built entirely with Tcl *Image maps--creating clickable images for navigating links *Magic cookies and the privacy issues surrounding them *Using OraTcl to provide an interface to an Oracle database *Using the Tcl browser plug-in to run code inside your browser *Using Tcl's socket support for building a Web-based client/server chat room An experienced programmer unfamiliar with Tcl can learn the language by reading this must-have reference. Tcl's straightforward syntax and similarity to C make it possible for any programmer to work through the examples. Furthermore, Appendix C provides a Tcl reference. The accompanying CD-ROM contains complete source code for all the examples in the book, as well as a CGI library that makes it easy to generate CGI programs that dynamically produce HTML Web pages. 0201606291B04062001

†Disclosure:
Advertising Link(s): Our company may receive a payment if you purchase a product/service after following
this link.

Disclosure:
Our company's websites' content (including this website's content) includes advertisements for
our own company's websites, products, and services,
and for other organization's websites, products, and services.
In the case of links to other organization's websites,
our company may receive a payment, (1) if you purchase products or services,
or (2) if you sign-up for third party offers, after following links from this website.
Unless specifically otherwise stated, information about other organization's products and services,
is based on information provided by that organization,
the product/service vendor, and/or publicly available information - and should
not be taken to mean that we have used the product/service in question.
Additionally, our company's websites contain some adverts which we are paid
to display, but whose content is not selected by us, such as Google AdSense ads. For more
detailed information, please see Advertising/Endorsements Disclosures

With any business, it is up to the individual owner of said business to ensure
the success of the business. You may make more or less than any sample
figures or results that might be quoted on our web sites or other publications.
All business involves risk, and many businesses do not succeed.
Further, Answers 2000 Limited does NOT represent that any particular
individual or business is typical, or that any results or experiences
achieved by any particular individual/business is necessarily typical.

Our sites use cookies, some of which may already be set on your computer. Use of our site
constitutes consent for this. For details, please see Privacy.

CERTAIN CONTENT THAT APPEARS ON THIS SITE COMES FROM AMAZON SERVICES LLC. THIS CONTENT IS PROVIDED 'AS IS' AND IS SUBJECT TO CHANGE OR REMOVAL AT ANY TIME.CERTAIN CONTENT THAT APPEARS ON THIS SITE,COMES FROM AMAZON EU S.à r.l. THIS CONTENT IS PROVIDED 'AS IS' AND IS SUBJECT TO CHANGE OR REMOVAL AT ANY TIME.

In Association With Amazon.comAnswers 2000 Limited is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com.
In Association With Amazon.co.ukAnswers 2000 Limited is a participant in the Amazon EU Associates Programme, an affiliate advertising programme designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.co.uk.

All trademarks are property of their respective owners.
All third party content and adverts are copyright of their respective owners.

Some graphics on our web sites are Copyright (C) 1997-2000 Hemera Technologies Inc., and used under license.
All such pictures are provided for viewing purposes only and are not to be saved or downloaded.
All such pictures of recognizable individuals are models and used for illustrative purposes only, and not meant to imply any association or endorsement of said individual with any product or service.