📄 webdoc.lst
字号:
C51 COMPILER V7.06 WEBDOC 10/09/2006 21:51:55 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE WEBDOC
OBJECT MODULE PLACED IN webdoc.OBJ
COMPILER INVOKED BY: D:\Program Files\Keil\C51\BIN\C51.EXE webdoc.c BROWSE DEBUG OBJECTEXTEND
stmt level source
1 //-----------------------------------------------------------------------------
2 // Net WEBDOC.C
3 //
4 // This module contains web pages and headers
5 //-----------------------------------------------------------------------------
6 #include <net.h>
7
8
9 // This is the header for web text pages. LENGTH is the body
10 // length, needed because in HTTP 1.1 we leave connection open
11 // Includes control statements to prevent browser from caching page
12 char code html_header[] = {
13 "HTTP/1.1 200 OK\n"
14 "Cache-control: no-cache\n"
15 "Connection: Keep-Alive\n"
16 "Content-Length: TAG:LEN1\n"
17 "Content-Type: text/html\r\n\r\n" };
18
19
20
21 // This page displays a table with weather data and a switch
22 // to turn a port pin on and off.
23 char code web_page[] = {"<HTML><HEAD><TITLE>基于单片机的Web服
-1153;器</TITLE>\n"
24 "<META http-equiv=Content-Type content=\"text/html; charset=gb2312\">\n"
25 "</HEAD>\n"
26 "<BODY>\n"
27 "<br>\n"
28 "<br>\n"
29 "<br>\n"
30 "<br>\n"
31 "<br>\n"
32 "<blockquote>\n"
33 "<blockquote>\n"
34 "<blockquote>\n"
35 "<blockquote>\n"
36 "<blockquote>\n"
37 "<blockquote>\n"
38 "<blockquote>\n"
39 "<blockquote>\n"
40 "<blockquote>\n"
41 "<FORM action=/index.html method=post>\n"
42 "<font size=\"4\">基于单片机的Web服务器演Ķ
-34;程序</font>\n"
43 "<BR><BR><BR><BR>LED指示灯: \n"
44 "<INPUT type=radio TAG:CHK1 value=1 name=switch>灭 \n"
45 "<INPUT type=radio\n"
46 "value=0 name=switch TAG:CHK2>亮 \n"
47 "<INPUT type=submit value=发送>\n"
48 "</FORM>\n"
49 "</blockquote>\n"
50 "</blockquote>\n"
51 "</blockquote>\n"
52 "</blockquote>\n"
53 "</blockquote>\n"
C51 COMPILER V7.06 WEBDOC 10/09/2006 21:51:55 PAGE 2
54 "</blockquote>\n"
55 "</blockquote>\n"
56 "</blockquote>\n"
57 "</blockquote>\n"
58 "</BODY></HTML>\n"};
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = ---- ----
CONSTANT SIZE = 999 ----
XDATA SIZE = ---- ----
PDATA SIZE = ---- ----
DATA SIZE = ---- ----
IDATA SIZE = ---- ----
BIT SIZE = ---- ----
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -