📄 index.html
字号:
Using Perl to Send Mail</A></UL><LI><A HREF="ch18.htm#ReceivingMailPOP">Receiving Mail (POP)</A><LI><A HREF="ch18.htm#CheckingforUpnessEcho">Checking for Upness (Echo)</A><LI><A HREF="ch18.htm#TransferringFilesFTP">Transferring Files (FTP)</A><LI><A HREF="ch18.htm#ReadingtheNewsNNTP">Reading the News (NNTP)</A><LI><A HREF="ch18.htm#TheWorldWideWebHTTP">The World Wide Web (HTTP)</A><LI><A HREF="ch18.htm#Summary">Summary</A><LI><A HREF="ch18.htm#ReviewQuestions">Review Questions</A><LI><A HREF="ch18.htm#ReviewExercises">Review Exercises</A></UL><H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter </FONT></I><FONT SIZE=5 COLOR=#FF0000>19</FONT><FONT SIZE=5> What Is CGI?</FONT></H2><UL><LI><A HREF="ch19.htm#WhyUsePerlforCGI">Why Use Perl for CGI?</A><LI><A HREF="ch19.htm#CGIAppsversusJavaApplets">CGI Apps versus Java Applets</A><LI><A HREF="ch19.htm#ShouldYouUseCGIModules">Should You Use CGI Modules?</A><LI><A HREF="ch19.htm#HowDoesCGIWork">How Does CGI Work?</A><LI><A HREF="ch19.htm#CallingYourCGIProgram">Calling Your CGI Program</A><LI><A HREF="ch19.htm#YourFirstCGIProgram">Your First CGI Program</A><LI><A HREF="ch19.htm#WhyAreFilePermissionsImportantinUNIX">Why Are File Permissions Important in UNIX?</A><LI><A HREF="ch19.htm#HTTPHeaders">HTTP Headers</A><LI><A HREF="ch19.htm#CGIandEnvironmentVariables">CGI and Environment Variables</A><LI><A HREF="ch19.htm#URLENCoding">URL ENCoding</A><LI><A HREF="ch19.htm#Security">Security</A><LI><A HREF="ch19.htm#CGIwrapandSecurity">CGIwrap and Security</A><LI><A HREF="ch19.htm#Cookies">Cookies</A><UL><LI><A HREF="ch19.htm#CookieSecurity">Cookie Security</A><LI><A HREF="ch19.htm#HowAreCookiesCreatedandRead">How Are Cookies Created and Read?</A><LI><A HREF="ch19.htm#CanaVisitorsBrowserSupportCookies">Can a Visitor's Browser Support Cookies?</A></UL><LI><A HREF="ch19.htm#DebuggingCGIPrograms">Debugging CGI Programs</A><UL><LI><A HREF="ch19.htm#SendingOutputtotheServersLogFile">Sending Output to the Server's Log File</A><LI><A HREF="ch19.htm#SendingSTDERRtotheWebBrowser">Sending STDERR to the Web Browser</A><LI><A HREF="ch19.htm#CGITap">CGITap</A><LI><A HREF="ch19.htm#GeneratinganErrorHTMLPage">Generating an Error HTML Page</A></UL><LI><A HREF="ch19.htm#Summary">Summary</A><LI><A HREF="ch19.htm#ReviewQuestions">Review Questions</A><LI><A HREF="ch19.htm#ReviewExercises">Review Exercises</A></UL><H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter </FONT></I><FONT SIZE=5 COLOR=#FF0000>20</FONT><FONT SIZE=5> Form Processing</FONT></H2><UL><LI><A HREF="ch20.htm#ABriefOverviewofHTML">A Brief Overview of HTML</A><LI><A HREF="ch20.htm#ServerSideINCludes">Server-Side INCludes</A><LI><A HREF="ch20.htm#HTMLForms">HTML Forms</A><LI><A HREF="ch20.htm#HandlingFormInformation">Handling Form Information</A><LI><A HREF="ch20.htm#FillinginaFormandMailingtheInformation">Filling in a Form and Mailing the Information</A><LI><A HREF="ch20.htm#DebuggingFormProcessingCGIScripts">Debugging Form Processing CGI Scripts</A><LI><A HREF="ch20.htm#CreatingaGuestbookforYourSite">Creating a Guestbook for Your Site</A><UL><LI><A HREF="ch20.htm#TheBasicGuestbook">The Basic Guestbook</A></UL><LI><A HREF="ch20.htm#Summary">Summary</A><LI><A HREF="ch20.htm#ReviewQuestions">Review Questions</A><LI><A HREF="ch20.htm#ReviewExercises">Review Exercises</A></UL><H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter </FONT></I><FONT SIZE=5 COLOR=#FF0000>21</FONT><FONT SIZE=5> Using Perl with Web Servers</FONT></H2><UL><LI><A HREF="ch21.htm#ServerLogFiles">Server Log Files</A><UL><LI><A HREF="ch21.htm#ExampleReadingaLogFile">Example: Reading a Log File</A><LI><A HREF="ch21.htm#ExampleListingAccessbyDocument">Example: Listing Access by Document</A><LI><A HREF="ch21.htm#ExampleLookingattheStatusCode">Example: Looking at the Status Code</A><LI><A HREF="ch21.htm#ExampleConvertingtheReporttoaWebPage">Example: Converting the Report to a Web Page</A><LI><A HREF="ch21.htm#ExistingLogFileAnalyzingPrograms">Existing Log File Analyzing Programs</A><LI><A HREF="ch21.htm#CreatingYourOwnCGILogFile">Creating Your Own CGI Log File</A></UL><LI><A HREF="ch21.htm#CommunicatingwithUsers">Communicating with Users</A><UL><LI><A HREF="ch21.htm#ExampleGeneratingaWhatsNewPage">Example: Generating a What's New Page</A><LI><A HREF="ch21.htm#ExampleGettingUserFeedback">Example: Getting User Feedback</A></UL><LI><A HREF="ch21.htm#Summary">Summary</A><LI><A HREF="ch21.htm#ReviewExercises">Review Exercises</A></UL><H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter </FONT></I><FONT SIZE=5 COLOR=#FF0000>22</FONT><FONT SIZE=5> Internet Resources</FONT></H2><UL><LI><A HREF="ch22.htm#UsenetNewsgroups">Usenet Newsgroups</A><LI><A HREF="ch22.htm#WebSites">Web Sites</A><UL><LI><A HREF="ch22.htm#ThePerlLanguageHomePage">The Perl Language Home Page</A><LI><A HREF="ch22.htm#PearlsofWisdombyLarryWall">Pearls of Wisdom by Larry Wall</A><LI><A HREF="ch22.htm#Yahoo">Yahoo</A><LI><A HREF="ch22.htm#TheCGIpmModule">The CGI.pm Module</A><LI><A HREF="ch22.htm#SelinaSolsCGIScriptArchive">Selina Sol's CGI Script Archive</A><LI><A HREF="ch22.htm#TheWebDevelopersVirtualLibrary">The Web Developer's Virtual Library</A><LI><A HREF="ch22.htm#IntroductiontoCGI">Introduction to CGI</A><LI><A HREF="ch22.htm#PerlforWin">Perl for Win32</A><LI><A HREF="ch22.htm#RandalLSchwartzsHomePage">Randal L. Schwartz's Home Page</A><LI><A HREF="ch22.htm#DaleBewleysPerlScriptsandLinks">Dale Bewley's Perl Scripts and Links!</A><LI><A HREF="ch22.htm#MattsScriptArchive">Matt's Script Archive</A><LI><A HREF="ch22.htm#TheComprehensivePerlArchiveNetwork">The Comprehensive Perl Archive Network</A><LI><A HREF="ch22.htm#DatabaseAPIforPerl">Database API for Perl</A><LI><A HREF="ch22.htm#TheCGICollection">The CGI Collection</A><LI><A HREF="ch22.htm#HTMLFormProcessingModulesHFPMHomePage">HTML Form Processing Modules (HFPM) Home Page</A><LI><A HREF="ch22.htm#PureAmiga">PureAmiga</A><LI><A HREF="ch22.htm#MacPerl">MacPerl</A><LI><A HREF="ch22.htm#CGIScriptsandHTMLForms">CGI Scripts and HTML Forms</A><LI><A HREF="ch22.htm#TheCGIDocumentationbyNCSA">The CGI Documentation by NCSA</A><LI><A HREF="ch22.htm#MiscellaneousSites">Miscellaneous Sites</A></UL><LI><A HREF="ch22.htm#InternetRelayChatorIRC">Internet Relay Chat, or IRC</A><LI><A HREF="ch22.htm#Summary">Summary</A></UL><H2><A HREF="ch23.htm"><I><FONT SIZE=5 COLOR=#FF0000>Appendix </FONT></I><FONT SIZE=5 COLOR=#FF0000>A</FONT><FONT SIZE=5> Answers to Review Questions</FONT></a></H2><H2><I><FONT SIZE=5 COLOR=#FF0000>Appendix </FONT></I><FONT SIZE=5 COLOR=#FF0000>B</FONT><FONT SIZE=5> Glossary</FONT></H2><UL><LI><A HREF="ch24.htm#Abstraction">Abstraction</A><LI><A HREF="ch24.htm#Alternation">Alternation</A><LI><A HREF="ch24.htm#AlternativeQuotes">Alternative Quotes</A><LI><A HREF="ch24.htm#ANChor">ANChor</A><LI><A HREF="ch24.htm#AnonymousFuNCtionsandVariables">Anonymous FuNCtions and Variables</A><LI><A HREF="ch24.htm#ANSI">ANSI</A><LI><A HREF="ch24.htm#Argument">Argument</A><LI><A HREF="ch24.htm#Array">Array</A><LI><A HREF="ch24.htm#ArrayContext">Array Context</A><LI><A HREF="ch24.htm#ArrayRange">Array Range</A><LI><A HREF="ch24.htm#ArraySlice">Array Slice</A><LI><A HREF="ch24.htm#ArraySplice">Array Splice</A><LI><A HREF="ch24.htm#ASCII">ASCII</A><LI><A HREF="ch24.htm#Assignment">Assignment</A><LI><A HREF="ch24.htm#AssociativeArray">Associative Array</A><LI><A HREF="ch24.htm#Associativitylefttorightamprighttoleft">Associativity (left-to-right & right-to-left)</A><LI><A HREF="ch24.htm#awk">awk</A><LI><A HREF="ch24.htm#Backtracking">Backtracking</A><LI><A HREF="ch24.htm#BinaryMode">Binary Mode</A><LI><A HREF="ch24.htm#BitwiseOperations">Bitwise Operations</A><LI><A HREF="ch24.htm#Block">Block</A><LI><A HREF="ch24.htm#CallbyRefereNCe">Call by RefereNCe</A><LI><A HREF="ch24.htm#CallbyValue">Call by Value</A><LI><A HREF="ch24.htm#CharacterClasses">Character Classes</A><LI><A HREF="ch24.htm#ChildProcess">Child Process</A><LI><A HREF="ch24.htm#Class">Class</A><LI><A HREF="ch24.htm#ClientServer">Client/Server</A><LI><A HREF="ch24.htm#CommandLineOptions">Command-Line Options</A><LI><A HREF="ch24.htm#Compiler">Compiler</A><LI><A HREF="ch24.htm#CompileTimeError">Compile-Time Error</A><LI><A HREF="ch24.htm#CoNCatenation">CoNCatenation</A><LI><A HREF="ch24.htm#Constant">Constant</A><LI><A HREF="ch24.htm#Constructor">Constructor</A><LI><A HREF="ch24.htm#ContextArrayampScalar">Context (Array & Scalar)</A><LI><A HREF="ch24.htm#ControlCharacters">Control Characters</A><LI><A HREF="ch24.htm#CR">CR</A><LI><A HREF="ch24.htm#Database">Database</A><LI><A HREF="ch24.htm#DataType">Data Type</A><LI><A HREF="ch24.htm#Debugger">Debugger</A><LI><A HREF="ch24.htm#Declaration">Declaration</A><LI><A HREF="ch24.htm#Deconstructor">Deconstructor</A><LI><A HREF="ch24.htm#Defined">Defined</A><LI><A HREF="ch24.htm#Delimiter">Delimiter</A><LI><A HREF="ch24.htm#DerefereNCe">DerefereNCe</A><LI><A HREF="ch24.htm#DetailLine">Detail Line</A><LI><A HREF="ch24.htm#DiamondOperator">Diamond Operator</A><LI><A HREF="ch24.htm#Directory">Directory</A><LI><A HREF="ch24.htm#DottedDecimalAddress">Dotted Decimal Address</A><LI><A HREF="ch24.htm#EmptyStringsArraysListsandHashes">Empty Strings, Arrays, Lists, and Hashes</A><LI><A HREF="ch24.htm#ENCapsulation">ENCapsulation</A><LI><A HREF="ch24.htm#ENCryption">ENCryption</A><LI><A HREF="ch24.htm#EndlessLoop">Endless Loop</A><LI><A HREF="ch24.htm#EnvironmentVariables">Environment Variables</A><LI><A HREF="ch24.htm#EOF">EOF</A><LI><A HREF="ch24.htm#EscapeSequeNCe">Escape SequeNCe</A><LI><A HREF="ch24.htm#Expression">Expression</A><LI><A HREF="ch24.htm#FF">FF</A><LI><A HREF="ch24.htm#Field">Field</A><LI><A HREF="ch24.htm#Filehandle">Filehandle</A><LI><A HREF="ch24.htm#Footer">Footer</A><LI><A HREF="ch24.htm#Formats">Formats</A><LI><A HREF="ch24.htm#ftp">ftp</A><LI><A HREF="ch24.htm#FuNCtion">FuNCtion</A><LI><A HREF="ch24.htm#Globbing">Globbing</A><LI><A HREF="ch24.htm#GreedyRegularExpressions">Greedy Regular Expressions</A><LI><A HREF="ch24.htm#Grep">Grep</A><LI><A HREF="ch24.htm#Hash">Hash</A><LI><A HREF="ch24.htm#Header">Header</A><LI><A HREF="ch24.htm#HereDocuments">Here Documents</A><LI><A HREF="ch24.htm#Hexadecimal">Hexadecimal</A><LI><A HREF="ch24.htm#InfiniteLoop">Infinite Loop</A><LI><A HREF="ch24.htm#InheritaNCe">InheritaNCe</A><LI><A HREF="ch24.htm#Initialization">Initialization</A><LI><A HREF="ch24.htm#Interpolation">Interpolation</A><LI><A HREF="ch24.htm#Interpreter">Interpreter</A><LI><A HREF="ch24.htm#InterprocessCommunication">Inter-process Communication</A><LI><A HREF="ch24.htm#IO">I/O</A><LI><A HREF="ch24.htm#IPC">IPC</A><LI><A HREF="ch24.htm#KeyValuePair">Key-Value Pair</A><LI><A HREF="ch24.htm#Label">Label</A><LI><A HREF="ch24.htm#LF">LF</A><LI><A HREF="ch24.htm#Library">Library</A><LI><A HREF="ch24.htm#List">List</A><LI><A HREF="ch24.htm#Literal">Literal</A><LI><A HREF="ch24.htm#Loop">Loop</A><LI><A HREF="ch24.htm#MetaCharacters">Meta Characters</A><LI><A HREF="ch24.htm#Module">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -