|
作者:Jacqueline Hamilton
出版日期:March 1, 2004
出版社:其它
页数:300
ISBN:978-0966942613
文件格式:PDF
If you build web pages you may eventually want to add a guestbook,order form, page counter, or other interactive elements to yourwebsite. 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 andbuilding up to more advanced applications.
You’ll learn:
* The Basics: where to write your CGI programs; how to upload themand set file permissions; how to run them, and how to debug them whenthings 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 ofnew material. It teaches good programming practices from the beginning,including use of the industry-standard CGI.pm Perl module. You’ll learnhow to protect your form-to-mail programs from being hijacked byspammers, how to build a cookie-based shopping cart, and how to developa password-protected website. Quick-reference pages and an improvedindex help you find information easily.
There are also several online tutorials to help you set up your ownweb server and write CGI programs on any computer system – includingWindows, Mac OS X, and Unix. |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|