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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cgic.html

?? 一般的UNIX系統都支持ANSI C,增加相應的庫函數(和相應的h文件)就可以實現CGI,用于CGI編程的ANSI C庫
?? HTML
?? 第 1 頁 / 共 5 頁
字號:
<html><head><title>cgic: an ANSI C library for CGI Programming</title></head><body><h1>cgic 2.02: an ANSI C library for CGI Programming</h1><h2>By <a href="http://www.boutell.com/boutell/">Thomas Boutell</a></h2><em><a href="http://www.boutell.com/cgic/">The LATEST documentation is available here. Check oftenfor new releases.</a></em><blockquote><strong>IMPORTANT NOTICES:</strong><p>If you have CGIC 1.05 or earlier, you should upgrade to CGIC 1.07,or to CGIC 2.02 or better, in order to obtain important security fixes.<p>If you have CGIC 2.0 or CGIC 2.01 and you use the cgiCookie routines, you should upgrade to CGIC 2.02 or better, in order to obtainimportant security fixes.</blockquote><h3>Table of Contents</h3><ul><li><a href="#credits">Credits and license terms</a><li><a href="#support">How to get support</a><li><a href="#whatsnew202">What's new in version XYZ of CGIC?</a><li><a href="#whatis">What is cgic?</a><li><a href="#obtain">Obtaining cgic</a><li><a href="#build">Building and testing cgic: a sample application</a><li><a href="#nocompile">What to do if it won't compile</a><li><a href="#howto">How to write a cgic application</a><li><a href="#images">How can I generate images from my cgic application?</a><li><a href="#debug">CGI debugging features: using capture</a><li><a href="#functions">cgic function reference</a><li><a href="#variables">cgic variable reference</a><li><a href="#resultcodes">cgic result code reference</a><li><a href="#index">cgic quick index</a></ul><h3><a name="credits">Credits and License Terms</a></h3>cgic can be used free of charge, <strong>provided that acredit notice is provided online.</strong> Alternatively,a nonexclusive Commercial License can be purchased, whichgrants the right to use cgic without a public credit notice.<p>Please see the file<code><a href="license.txt">license.txt</a></code>for the details of the Basic License and Commercial License,including ordering information for the Commercial License.<p>Thanks are due to Robert Gustavsson, Ken Holervich, Bob Nestor, Jon Ribbens, Thomas Strangert, Wu Yongwei, and other CGIC users who have corresponded over the years. Although the implementationof multipart/form-data file upload support in CGIC 2.x is my own, I particularly wish to thank those who submitted their own implementations of this feature.<h3><a name="support">How to Get Support</a></h3><blockquote><h4>STOP! READ THIS FIRST! REALLY!</h4>    Are you getting a "server error," indicating that your web server    "cannot allow POST to this URL," or a similar message? <strong>YOU MUST    CONFIGURE YOUR WEB SERVER TO ALLOW CGI PROGRAMS, AND YOU MUST    INSTALL CGI PROGRAMS IN THE LOCATION (OR WITH THE EXTENSION) THAT    YOUR WEB SERVER EXPECTS TO SEE.</strong> Please don't send me email about    this, unless you wish me to configure your web server for you; I can    certainly do that for $50/hr, but you can probably straighten this out    yourself or have your web server administrator do it.</blockquote><h4>Free Support</h4>Anyone can mail questions about the gd and cgic libraries to <a href="mailto:support@boutell.com">support@boutell.com</a>. However, I receive a very large volume of email on many subjects, and while I do my best to respond to all queries this can take some time. Sometimes the response must take the form of an eventual new release or an addition to a FAQ or other document, as opposed to an detailed individual response.<h4>Hourly Support</h4>Those requiring support in detail may arrange for direct supportfrom the author, Thomas Boutell, at the rate of $50/hr, billeddirectly by credit card. Purchase orders are also accepted fromFortune 500 corporations and institutions in good standing.To make arrangements, contact <a href="mailto:support@boutell.com">support@boutell.com</a>, or useour <a href="https://www.boutell.com/freeform/">free-form securemessage page</a>. To avoid delay, be sure to specifically mention that you wish to purchase CGIC support at the hourly rate above.<h3><a name="whatsnew202">What's new in version 2.02?</a></h3><ul><li>In CGIC 2.0 and 2.01, if the HTTP_COOKIE environment variablewas exactly equal to the name of a cookie requested with cgiCookieString,with no value or equal sign or other characters present, a bufferoverrun could take place. This was not normal behavior and it isunknown whether any actual web server would allow it to occur, howeverwe have of course released a patch to correct it. Thanks to Nicolas Tomadakis.<li>cgiCookieString returned cgiFormTruncated when cgiFormSuccess wouldbe appropriate. Fixed; thanks to Mathieu Villeneuve-Belair.<li>Cookies are now set using a simpler Set-Cookie: header, and withone header line per cookie, based on data collected by Chunfu Lai. <li>Memory leaks in cgiReadEnvironment fixed by Merezko Oleg. Thesememory leaks were <em>not</em> experienced in a normal CGI situation, onlywhen reading a saved CGI environment.</ul><h3><a name="whatsnew201">What's new in version 2.01?</a></h3><ul><li>Makefile supports "make install"<li>Compiles without warnings under both C and C++ with strictwarnings and strict ANSI compliance enabled<li>Builds out of the box on Windows (#include &lt;fcntl.h&gt; was needed)<li>Rare problem in cgiReadEnvironment corrected; no impact onnormal CGI operations<li>cgiCookieString now sets the result to an empty stringwhen returning cgiFormNotFound<li>Minor code cleanups</ul><h3><a name="whatsnew200">What's new in version 2.0?</a></h3>1. CGIC 2.0 provides support for file upload fields. User-uploadedfiles are kept in temporary files, to avoid the use ofexcessive swap space (Solaris users may wish to change the<code>cgicTempDir</code> macro in cgic.c before compiling).The <code><a href="#cgiFormFileName">cgiFormFileName</a></code>, <code><a href="#cgiFormFileContentType">cgiFormFileContentType</a></code>, <code><a href="#cgiFormFileSize">cgiFormFileSize</a></code>, <code><a href="#cgiFormFileOpen">cgiFormFileOpen</a></code>, <code><a href="#cgiFormFileRead">cgiFormFileRead</a></code>, and<code><a href="#cgiFormFileClose">cgiFormFileClose</a></code> functionsprovide a complete interface to this new functionality. Remember,the <code>enctype</code> attribute of the <code>form</code> tagmust be set to <code>multipart/form-data</code> when<code>&lt;input type="file"&gt;</code> tags are used.<p>2. CGIC 2.0 provides support for setting and examining cookies(persistent data storage on the browser side).The <code><a href="#cgiCookieString">cgiCookieString</a></code>,and <code><a href="#cgiCookieInteger">cgiCookieInteger</a></code>and <code><a href="#cgiCookies">cgiCookies</a></code>functions retrieve cookies. The <code><a href="#cgiHeaderCookieSetString">cgiHeaderCookieSetString</a></code>and <code><a href="#cgiHeaderCookieSetInteger">cgiHeaderCookieSetInteger</a></code> functions set cookies.<p>3. CGIC 2.0 offers a convenient way to retrieve a list of all form fields.The new <code><a href="#cgiFormEntries">cgiFormEntries</a></code>function performs this operation.<p>4. CGIC 2.0 provides convenience functions to correctly escapetext before outputting it as part of HTML, or as part of the value of a tag attribute, such as the <code>HREF</code> or<code>VALUE</code> attribute. See <code><a href="#cgiHtmlEscape">cgiHtmlEscape</a></code>,<code><a href="#cgiHtmlEscapeData">cgiHtmlEscapeData</a></code>,<code><a href="#cgiValueEscape">cgiValueEscape</a></code> and<code><a href="#cgiValueEscapeData">cgiValueEscapeData</a></code>.<p>5. Users have often asked the correct way to determine which submitbutton was clicked. This could always be accomplished in previous versions,but CGIC 2.0 also provides <a href="#cgiFormSubmitClicked">cgiFormSubmitClicked</a>,a convenient alternate label for the <a href="#cgiFormCheckboxSingle">cgiFormCheckboxSingle</a> function.<h3><a name="whatsnew107">What's new in version 1.07?</a></h3>A problem with the cgiFormString and related functions has beencorrected. These functions were previously incorrectly returning cgiFormTruncatedin cases where the returned string fit the buffer exactly.<h3><a name="whatsnew106">What's new in version 1.06?</a></h3>1. A potentially significant buffer overflow problem has beencorrected. Jon Ribbens correctly pointed out to me (and to theInternet's bugtraq mailing list) that the cgiFormEntryStringfunction, which is used directly or indirectly by almost allCGIC programs, can potentially write past the buffer passedto it by the programmer. This bug has been corrected.Upgrading to version 1.06 is <strong>strongly recommended.</strong><P>2. The function <code>cgiSaferSystem()</code> has beenremoved entirely. This function escaped only a few metacharacters,while most shells have many, and there was no way to account forthe many different operating system shells that might be in useon different operating systems. Since this led to a false senseof security, the function has been removed. It is our recommendationthat user input should never be passed directly on the command lineunless it has been carefully shown to contain only charactersregarded as safe and appropriate by the programmer. Even then, it isbetter to design your utilities to accept their input from standardinput rather than the command line.<h3><a name="whatsnew105">What's new in version 1.05?</a></h3>Non-exclusive commercial license fee reduced to $200.<h3><a name="whatsnew104">What's new in version 1.04?</a></h3>For consistency with other packages, the standard Makefilenow produces a true library for cgic (libcgic.a). <h3><a name="whatsnew103">What's new in version 1.03?</a></h3>Version 1.03 sends line feeds only (ascii 10) to end Content-type:, Status:, and other HTTP protocol output lines,instead of CR/LF sequences. The standard specifies CR/LF.Unfortunately, too many servers reject CR/LF to makeimplementation of that standard practical. No servertested ever rejects LF alone in this context. <h3><a name="whatsnew102">What's new in version 1.02?</a></h3>Version 1.02 corrects bugs in previous versions:<ul><li><a href="#cgiFormDoubleBounded">cgiFormDoubleBounded</a> specifiedits arguments in the wrong order, with surprising results.This bug has been corrected.<li>Many small changes have been made to increase compatibility.cgic now compiles with no warnings under the compilersavailable at boutell.com.</ul><h3><a name="whatsnew101">What's new in version 1.01?</a></h3>Version 1.01 adds no major functionality but corrects significant bugs and incompatibilities:<ul><li><a href="#cgiFormInteger">cgiFormInteger</a>,<a href="#cgiFormIntegerBounded">cgiFormIntegerBounded</a>,<a href="#cgiFormDouble">cgiFormDouble</a> and<a href="#cgiFormDoubleBounded">cgiFormDoubleBounded</a> nowaccept negative numbers properly. They also accept positivenumbers with an explicit + sign.<li>Hex values containing the digit <code>9</code> arenow properly decoded.<li><a href="#cgiFormString">cgiFormString</a> nowrepresents each newline as a single line feed (ascii 10 decimal)as described in the documentation, not a carriage return(ascii 13 decimal) as in version 1.0. The latter approachpleased no one.<li><a href="#cgiFormString">cgiFormString</a> and<a href="#cgiFormStringNoNewlines">cgiFormStringNoNewlines</a>no longer erroneously return cgiFormEmpty in place ofcgiFormSuccess.<li>The main() function of cgic now flushes standard outputand sleeps for one second before exiting in order to inhibitproblems with the completion of I/O on some platforms. This wasnot a cgic bug per se, but has been reported as a common problemwith CGI when used with the CERN server. This change shouldimprove compatibility.<li>The single selection example in the testform.htmlexample now works properly. This was an error in theform itself, not cgic.<li><a href="#cgiRemoteUser">cgiRemoteUser</a> and<a href="#cgiRemoteIdent">cgiRemoteIdent</a> are nowdocumented accurately. They were reversed earlier.</ul><h3><a name="whatis">What is cgic?</a></h3>cgic is an ANSI C-language library for the creation of CGI-basedWorld Wide Web applications. For basic information aboutthe CGI standard, see the <a href="http://hoohoo.ncsa.uiuc.edu/cgi/">CGI documentation</a> at NCSA.<p>cgic performs the following tasks:<ul><li>Parses form data, correcting for defective and/or inconsistent browsers<li>Transparently accepts both GET and POST form data<li>Accepts uploaded files as well as regular form fields<li>Provides functions to set and retrieve "cookies"(browser-side persistent information)<li>Handles line breaks in form fields in a consistent manner<li>Provides string, integer, floating-point, and single- andmultiple-choice functions to retrieve form data<li>Provides bounds checking for numeric fields<li>Loads CGI environment variables into C strings which are always non-null<li>Provides a way to capture CGI situations for replay in a debuggingenvironment, including file uploads and cookies</ul><p>cgic is compatible with any CGI-compliant server environment, andcompiles without modification in Posix/Unix/Linux and Windowsenvironments.<h3><a name="obtain">Obtaining cgic</a></h3>cgic is distributed via the web in two forms: as a Windows-compatible.ZIP file, and as a gzipped tar file. Most users of Windows andrelated operating systems have access to 'unzip' or 'pkunzip'. All modern Unix systems come with 'gunzip' and 'tar' as standard equipment, and gzip/gunzipis not difficult to find if yours does not. Versionsof these programs for other operating systems are widelyavailable if you do not already have them.<p><strong>Important:</strong> to use cgic, you will need an ANSI-standardC compiler. Under Unix, just obtain and use gcc. Most Unix systems havestandardiszed on gcc. Users of Windows operating systems should not haveANSI C-related problems as all of the popular compilers follow the ANSI standard.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区按摩在线观看| 成人一区二区三区视频在线观看| 欧美精品自拍偷拍动漫精品| 尤物av一区二区| 91视频观看视频| 国产精品视频yy9299一区| 国产福利一区二区三区在线视频| 久久在线观看免费| 国产在线观看一区二区| 2022国产精品视频| 国产在线精品国自产拍免费| 久久久三级国产网站| 国产麻豆视频一区二区| 久久亚洲综合色一区二区三区| 精彩视频一区二区三区| 精品国产91洋老外米糕| 国产一区中文字幕| 久久久久久久av麻豆果冻| 国产成人精品一区二区三区网站观看| 久久久亚洲精品石原莉奈| 国产成人av一区二区三区在线观看| 国产午夜精品在线观看| 国产99久久久久| 中文字幕一区二区三区四区| 99re这里只有精品视频首页| 亚洲激情中文1区| 欧美精品一级二级三级| 奇米影视一区二区三区小说| 精品免费日韩av| 国产高清精品久久久久| 亚洲天天做日日做天天谢日日欢| 欧美中文字幕不卡| 日日夜夜免费精品| 精品国免费一区二区三区| 国产黄色精品网站| 国产精品久久久久久一区二区三区| 91在线你懂得| 亚洲午夜精品在线| 日韩欧美色综合网站| 国产99久久久久| 一区二区三区在线免费| 91精选在线观看| 国产在线不卡一区| 专区另类欧美日韩| 在线不卡一区二区| 国产一区二区三区香蕉| 国产精品久久久久aaaa樱花 | 欧美亚洲另类激情小说| 午夜成人免费视频| 久久网站最新地址| 色综合网站在线| 免费成人av在线播放| 国产日韩欧美a| 欧美自拍丝袜亚洲| 国模一区二区三区白浆| 中文字幕综合网| 日韩欧美国产高清| av中文字幕一区| 视频一区在线播放| 国产色一区二区| 欧美午夜精品一区二区三区| 国产一区欧美一区| 亚洲精品久久久久久国产精华液| 日韩一卡二卡三卡四卡| 成人一级黄色片| 天天射综合影视| 日本一区二区成人| 欧美另类高清zo欧美| 国产1区2区3区精品美女| 亚洲韩国一区二区三区| 久久久精品黄色| 精品污污网站免费看| 国产精品亚洲一区二区三区妖精| 亚洲影视资源网| 久久精品男人天堂av| 欧美日韩国产高清一区二区三区| 国产成人精品一区二区三区网站观看| 亚洲国产精品一区二区www| 久久久精品欧美丰满| 91精品国产综合久久婷婷香蕉| 成人免费的视频| 麻豆一区二区在线| 亚洲综合在线五月| 中文一区在线播放| 日韩欧美成人午夜| 欧美日韩精品一区二区三区蜜桃| 成人精品免费网站| 麻豆91在线播放| 亚洲一区二区欧美日韩| 欧美激情综合五月色丁香 | 在线成人免费视频| 91浏览器在线视频| 国产精品资源在线看| 日韩和欧美一区二区三区| 亚洲欧美日韩在线| 国产欧美一区二区精品性色超碰| 91精品国产日韩91久久久久久| 日本高清成人免费播放| 国产成人自拍网| 久久国产精品一区二区| 亚洲成人7777| 亚洲摸摸操操av| 国产精品久久久久影视| 久久精品一区二区三区四区| 欧美一区二区在线免费播放| 91黄色小视频| 91丨国产丨九色丨pron| 国产91精品在线观看| 国产做a爰片久久毛片| 奇米影视一区二区三区| 亚洲第一久久影院| 一区二区三区久久久| 中文字幕一区二区三区四区不卡 | 免费日韩伦理电影| 午夜精品aaa| 亚洲国产一区二区a毛片| 亚洲人成影院在线观看| 国产精品免费av| 国产欧美一区二区精品性| 精品国产99国产精品| 亚洲精品一区在线观看| 日韩欧美激情四射| 日韩你懂的在线播放| 欧美一二三区在线观看| 6080yy午夜一二三区久久| 欧美男人的天堂一二区| 欧美日韩一级二级| 欧美日韩精品高清| 欧美日韩免费视频| 欧美日韩国产在线观看| 欧美日韩另类国产亚洲欧美一级| 欧美日韩在线三级| 欧美日韩国产片| 欧美一区二区精美| 日韩丝袜美女视频| 欧美大片日本大片免费观看| 日韩欧美专区在线| 精品少妇一区二区三区视频免付费| 日韩欧美综合一区| 久久综合色综合88| 国产日本欧美一区二区| 国产精品久久精品日日| 亚洲欧洲av一区二区三区久久| 亚洲视频一区在线| 亚洲一区自拍偷拍| 天天av天天翘天天综合网| 日本成人在线一区| 久久疯狂做爰流白浆xx| 国产成a人无v码亚洲福利| 成人va在线观看| 日本韩国一区二区三区视频| 欧美色图免费看| 欧美一区二区福利视频| 26uuu亚洲综合色欧美| 久久久久国产精品麻豆| 国产精品视频在线看| 一区二区三区四区亚洲| 亚洲国产精品久久人人爱 | 蜜臀久久99精品久久久久宅男| 美国毛片一区二区| 成人永久免费视频| 日本高清不卡一区| 日韩一区二区三区三四区视频在线观看 | 国产成人一区二区精品非洲| 成人18精品视频| 欧美视频在线观看一区| 日韩欧美亚洲另类制服综合在线| 国产日韩欧美精品综合| 亚洲美女少妇撒尿| 日本亚洲免费观看| 日韩视频免费观看高清完整版在线观看 | 欧美一区二区三区电影| 久久久久国产精品麻豆ai换脸| 亚洲视频一区二区免费在线观看 | 亚洲视频一二区| 日韩精品成人一区二区三区| 国产黄人亚洲片| 一本色道a无线码一区v| 91精品国产综合久久婷婷香蕉| 国产欧美一区二区在线观看| 一区二区三区成人在线视频| 久久99国产乱子伦精品免费| 成人美女视频在线观看18| 精品视频资源站| 国产亚洲一区二区在线观看| 一区二区三区免费网站| 美女一区二区久久| www.色综合.com| 欧美精品在线观看一区二区| 国产亚洲综合在线| 亚洲成人av在线电影| 国产精品1区二区.| 精品视频色一区| 亚洲国产高清不卡| 日韩精品欧美精品| 不卡视频在线观看| 日韩一级片在线播放| 亚洲欧美激情插| 国产真实乱子伦精品视频| 欧美性一区二区|