?? day4_3.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 + -