⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 day4_3.html

📁 《Perl CGI 6天入门》
💻 HTML
字号:
<html>
<!-- #BeginTemplate "/Templates/backend.dwt" -->

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">

<!--

a:link {  color: blue; text-decoration: none}

a:visited {  color: purple; text-decoration: none}

a:hover {  color: #CC0033; text-decoration: underline}

.smallfont {  font-family: "宋体"; font-size: 9pt; line-height: 12pt}

-->

</style>
<!-- #BeginEditable "doctitle" -->
<title>CGI入门教程</title>
<!-- #EndEditable -->
</head>

<body topmargin="1" leftmargin="2">

<p><b> </b></p>

<p><tt><span class="smallfont"><b>CGI入门教程<br>
</b><br>
<font color="#FF0000">第一页</font> <a href="day4_1.html">email子过程</a><br>
<font color="#FF0000">第二页</font> <a href="day4_2.html">写文件</a><br>
<font color="#FF0000">第三页</font> 建立log文件</span></tt></p>

<p><tt><span class="smallfont">[<a href="day1_1.html">第1天</a>][<a href="day2_1.html">第2天</a>][<a
href="day3_1.html">第3天</a>][第4天][<a href="day5_1.html">第5天</a>][<a
href="day6_1.html">第6天</a>][<a href="../perl.htm">返回</a>]</span></tt></p>

<p><tt><span class="smallfont"><b>第三页:建立log文件</b></span></tt></p>

<p><tt><span class="smallfont">当运行CGI程序在留言板中添加信息时,我们需要告诉它在guestbook.log底部附加一新行。因此我们需要有一个guestbook.log文件。</span></tt></p>

<p><tt><span class="smallfont">把下行拷贝到一个新建的文本文件中,在此行的结尾按回车,然后保存为guestbook.log:</span></tt></p>

<p><tt><span class="smallfont">First::Last::Address::City::State::Postal::Phone::E-mail::list::Comments 
</span></tt></p>

<p><tt><span class="smallfont">把这个文件FTP到服务器上的perltour文件夹中。</span></tt></p>

<p><tt><span class="smallfont">在Unix提示符下,敲入chmod a+rx guestbook.log,然后按回车。</span></tt></p>
</body>
<!-- #EndTemplate -->
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -