亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? cgi.htm

?? 嵌入式服務(wù)器源碼 可執(zhí)行動態(tài)頁,可以自由修改
?? HTM
字號:
<html><head><!- Copyright (c) Go Ahead Software Inc., 1995-2000. All Rights Reserved. -><title>Standard CGI Implementation</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link rel="stylesheet" href="../style/normal_ws.css"></head><body bgcolor="#FFFFFF"><TABLE WIDTH="550" BORDER="0" BORDERCOLOR="#FFFFFF" BGCOLOR="#FFFFFF"><TR BORDERCOLOR="#FFFFFF"><TD><H2>Standard CGI Implementation<A NAME="CGI"></A> </H2><P>The Common Gateway Interface (CGI) is a standard for interfacing external applications with information servers, such as HTTP or Web servers. A plain HTML document retrieved by  a Web daemon   is a static  text file that doesn't change. A CGI program, on the other hand, is executed in real-time and able to  output dynamic content.</P><P> CGI script are written in any language that can read STDIN, write to STDOUT, and read environment variables. This means that virtually any programming language can be used, including C, Perl, or even shell scripting. </P><P><B>Note:</B> this WebServer documentation does not  provide instructions  on how to  write  CGI scripts for processing Web forms; however,    numerous books and Websites are readily available that do an excellent job in covering  this basic  information. </P><P>In  WebServer  2.0, GoForms CGI processing was accomplished by instructing the webs module to treat all URLs beginning with &quot;/goform&quot;  as  <A HREF="goforms.htm">GoForms</A>.   Using a similar mechanism, WebServer 2.1 has   a new "handler" that is  called when URL requests are received for URLs beginning with <BR>&quot;/cgi-bin&quot;.  CGI executable processes must be located in the WebServer's  <FONT FACE="Courier New, Courier, mono">cgi-bin</FONT> subdirectory.  Separate processes will be created for each CGI request.</P><H3>CGI for VxWorks<A NAME="cgi"></A></H3><P>CGI's standard implementation requires that standalone processes be executed and  their outputs   returned to the browser via the WebServer.  In VxWorks, processes are not  implemented, but rather tasks are.  In addition to  understanding the mechanisms used in the implementation of VxWorks CGI tasks, developers of CGI processes must  be aware of the differences between processes on other operating systems  and tasks on VxWorks.</P><OL><OL><LI>VxWorks tasks can be spawned using code already loaded in memory.  On VxWorks systems with no file system, the CGI task code can be included in the OS image and is not necessarily contained in a file.</LI><LI>If the CGI code is contained in a file, a browser request  for it will cause it to be loaded into memory prior to its execution.  It will be unloaded and reloaded each time it is invoked, which allows the  upgrading to a new version between invocation.</LI><LI>The  VxWorks taskSpawn API is used to spawn the CGI  task.</LI><LI>An entry point symbol name must be used to spawn the task.  The request for the CGI process can define this entry point name in the request by including the query string keyword=value pair &quot;cgientry=symbolname&quot;,  where symbolname is a function name in the CGI code that is to be executed.  If cgientry is not defined in this way, a default entry name will be searched for in the loaded code.  The default name is &quot;basename_cgientry&quot;,  where basename is the name of the requested CGI process minus any file extension or path info (e.g.,  if the request is for &quot;cgi-bin/cgitest.out&quot;, the default entry point symbol name will be &quot;cgitest_cgientry&quot;).  If the entry point symbol name is not found or if the requested module cannot be loaded, the CGI request will fail.</LI><LI>The priority of the spawned task will be the same priority at which    WebServer is running. </LI><LI>The stack size of the spawned task is 20,000 bytes.</LI><LI>The task name will be the same as the entry point name.</LI><LI>The standard CGI environment variables are copied to the task environment.  They can be retrieved/modified by the getenv/putenv APIs.</LI><LI>Command line arguments (if any) are passed to the user's entry point via an (int argc, char **argv) standard convention, where argc is the number of arguments and argv is an array of strings.</LI><LI>As   in standard CGI processes, the VxWorks CGI task can retrieve additional POST data from standard input device and must write any output to be returned to the client to the standard output device.  These devices are actually temporary files where  stdin and stdout have been redirected.</LI><LI>User-defined CGI task codes should always be terminated with  a  return rather than an  exit API. This allows environment space and redirected I/O files used by the task to be cleaned up and released back to the operating system appropriately.   </LI></OL></OL><P></P><H3>Environment Variables</H3><P>Input to Standard CGIs is   accomplished mainly through these environment variables:</P><P>SERVER_SOFTWARE<BR>  The name and version of the information server software answering the request (and running the gateway). <BR>Format: name/version </P><P>SERVER_NAME<BR>  The server's hostname, DNS alias, or IP address as it would appear in self-referencing URLs.</P><P> GATEWAY_INTERFACE<BR>The revision of the CGI specification used by this server. <BR>Format: CGI/revision </P><P>SERVER_PROTOCOL<BR>The name and revision of the information protocol used by this request. <BR>Format: protocol/revision </P><P>SERVER_PORT<BR>The port number receiving  the request. </P><P>REQUEST_METHOD<BR>The method used to make  the request. For HTTP, this is "GET", "HEAD", "POST", etc. </P><P>PATH_INFO<BR>The extra path information, as given by the client. In other words, scripts can be accessed by their virtual pathname, followed by extra information at the end of this path. The extra information is sent as PATH_INFO. The server  decodes  this information  before it is passed to the CGI script. </P><P>PATH_TRANSLATED<BR>The server provides a translated version of PATH_INFO, which completes a  virtual-to-physical mapping of the path as required. </P><P>SCRIPT_NAME<BR>A virtual path to the script being executed for self-referencing URLs. </P><P>QUERY_STRING<BR>The information which follows the "?" in the URL which referenced this script. This is the query information. It is not   decoded in any fashion. This variable is always   set when there is query information, regardless of command line decoding. </P><P>REMOTE_HOST<BR>The hostname making the request. If the server does not have this information, it will set REMOTE_ADDR and leave this unset. </P><P>REMOTE_ADDR<BR>The IP address of the remote host making the request. </P><P>AUTH_TYPE<BR>If  the script is protected, this is the protocol-specific authentication method used to validate the user. </P><P>REMOTE_USER<BR>If  the script is protected, this is the authenticated username. </P><P>REMOTE_IDENT<BR>This variable is set to the remote user name retrieved from the server. Use of this variable should be limited to logging only. </P><P>CONTENT_TYPE<BR>For queries having  attached information, such as HTTP POST and PUT, this identifies  the content type of the data. </P><P>CONTENT_LENGTH<BR>The length of the said content as given by the client. </P><P>HTTP_ACCEPT<BR>The MIME types accepted by the  client, as given by HTTP headers. Other protocols may need to receive this information from elsewhere. Each item in this list should be separated by commas as specified by  HTTP. <BR>Format: type/subtype, type/subtype. </P><P>HTTP_USER_AGENT<BR>The browser being used by the  client  to send the request. General format: software/version library/version. </P><H3>Standard CGI Implementation Data Structures</H3><P> The data structures provided  for GoForms  function  for standard CGI  implementation.</P></TD></TR></TABLE></body></html>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美日韩精品久久久久| 在线一区二区三区| 久久久久久久久伊人| 精彩视频一区二区| 久久久99久久精品欧美| 成人av电影观看| 亚洲欧美日韩中文字幕一区二区三区 | 国产精品一线二线三线精华| 精品1区2区在线观看| 久久66热偷产精品| 久久精品一区二区| 国产黄色精品网站| 国产精品婷婷午夜在线观看| 成人av资源站| 亚洲乱码国产乱码精品精的特点| 91麻豆免费看片| 亚洲一区二三区| 欧美日韩在线精品一区二区三区激情| 夜夜嗨av一区二区三区中文字幕| 91成人国产精品| 亚洲成人av一区二区三区| 欧美日韩高清一区| 蓝色福利精品导航| 久久久久国产精品厨房| 国产成人一区在线| 日韩理论片一区二区| 欧美艳星brazzers| 日本成人在线网站| 久久久久久久久久久电影| 不卡区在线中文字幕| 久久综合久久综合九色| 精品午夜一区二区三区在线观看| 日韩视频一区在线观看| 视频一区免费在线观看| 欧美日韩在线观看一区二区 | 亚洲色图在线播放| 欧美性大战xxxxx久久久| 日韩精品电影一区亚洲| 久久久精品国产99久久精品芒果| 99久久综合国产精品| 亚洲成在线观看| 久久精品综合网| 在线观看日韩电影| 国产在线麻豆精品观看| 一区视频在线播放| 在线免费观看日本欧美| 日韩国产在线一| 日韩美女在线视频| 99久久久久免费精品国产| 青椒成人免费视频| 亚洲人成在线观看一区二区| 日韩亚洲国产中文字幕欧美| 成人av资源下载| 免费观看日韩电影| 中文字幕中文在线不卡住| 欧美一级二级三级蜜桃| 波波电影院一区二区三区| 日韩一区精品字幕| 中文字幕一区二区三中文字幕| 在线成人av网站| 99这里只有精品| 韩国女主播一区| 午夜精品123| 中文一区二区在线观看| 91精品欧美久久久久久动漫| 91在线观看免费视频| 精品在线一区二区三区| 丝袜脚交一区二区| 亚洲欧美日韩小说| 中文字幕电影一区| 国产亚洲欧美日韩日本| 欧美一级高清片在线观看| 欧美性xxxxxx少妇| 9i在线看片成人免费| 国产精品亚洲一区二区三区在线| 日韩精品一二三| 亚洲国产毛片aaaaa无费看 | 国产成人免费9x9x人网站视频| 亚洲一区二区五区| 中文字幕制服丝袜一区二区三区| 久久男人中文字幕资源站| 91精品国产免费| 欧美美女喷水视频| 欧美精品久久99| 欧美色图在线观看| 在线视频亚洲一区| 99久久综合国产精品| 国产最新精品精品你懂的| 午夜欧美大尺度福利影院在线看| 国产精品免费av| 国产日本一区二区| 精品电影一区二区| 91麻豆精品国产91久久久更新时间| 91亚洲精品一区二区乱码| 国产精品一区在线观看你懂的| 日韩不卡手机在线v区| 亚洲免费观看高清完整版在线 | 日韩一区二区免费在线电影| 91成人国产精品| 99久久精品一区二区| 国产成人午夜电影网| 国产一区在线精品| 狠狠色丁香久久婷婷综合丁香| 亚洲成人av福利| 日日夜夜精品视频天天综合网| 亚洲第一电影网| 亚洲一区二区在线免费观看视频| 亚洲男同性恋视频| 最新久久zyz资源站| 国产精品国产自产拍高清av| 国产日韩亚洲欧美综合| 国产精品丝袜黑色高跟| 国产精品久久99| 一区二区三区免费看视频| 有坂深雪av一区二区精品| 亚洲成av人影院| 经典三级视频一区| 国产iv一区二区三区| 风流少妇一区二区| 91丨九色丨黑人外教| 色综合婷婷久久| 欧美日韩午夜影院| 日韩亚洲欧美一区二区三区| 69堂成人精品免费视频| 欧美一区二区三区四区五区 | 日韩一区二区在线看| 久久精品一区二区三区四区| 成人欧美一区二区三区黑人麻豆 | 欧美视频第二页| 精品国产亚洲在线| 1000精品久久久久久久久| 亚洲一区二区三区在线| 精品一区二区三区久久久| 成人性生交大片免费看在线播放| 91国模大尺度私拍在线视频| 欧美人妖巨大在线| 国产日韩欧美不卡在线| 亚洲在线成人精品| 国产精品一区二区视频| 91黄色免费版| 国产亚洲一二三区| 亚洲韩国一区二区三区| 精品亚洲国内自在自线福利| 一本一本大道香蕉久在线精品| 欧美一区二区三区播放老司机| 欧美高清在线视频| 蜜桃视频第一区免费观看| 一本一道综合狠狠老| 精品美女在线观看| 亚洲1区2区3区4区| 经典一区二区三区| 欧美区视频在线观看| 国产精品盗摄一区二区三区| 久88久久88久久久| 91久久精品日日躁夜夜躁欧美| 久久精品欧美一区二区三区麻豆 | 成人开心网精品视频| 欧美美女网站色| 亚洲综合丁香婷婷六月香| 国产盗摄女厕一区二区三区| 日韩亚洲欧美综合| 亚洲福利视频一区| 色一区在线观看| 国产精品理论在线观看| 国产精品中文字幕日韩精品 | 日韩欧美123| 亚洲一二三四在线| 99re亚洲国产精品| 日本一区二区三区在线不卡| 另类调教123区| 欧美电影在哪看比较好| 亚洲人成人一区二区在线观看| 久草中文综合在线| 欧美一级在线视频| 一区二区三区欧美在线观看| 99视频在线精品| 《视频一区视频二区| www.日韩av| 中文字幕一区av| 国产一区二区在线视频| 日韩一区二区在线播放| 亚洲成av人片www| 91免费观看视频| 26uuu精品一区二区三区四区在线| 亚洲国产精品精华液网站| 欧美伊人久久久久久午夜久久久久| 亚洲三级在线观看| 日本精品一级二级| 一区二区日韩av| 欧美日韩色综合| 亚洲精品综合在线| 波多野结衣在线一区| 中文字幕一区二区三区乱码在线| 成人18视频在线播放| 亚洲日本一区二区| 91亚洲精品久久久蜜桃网站| 亚洲黄一区二区三区| 欧美视频精品在线观看| 日韩和欧美一区二区| 欧美人妖巨大在线|