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

📄 ebenviron.html

📁 eybuild中文手册 eybuild中文手册 eybuild中文手册
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<html>
<head>
<!-- E:/eybuild/doc/export//ebenviron.html - generated by refgen from ebenviron.c -->
 <title> ebenviron </title>
</head>
<body bgcolor="#FFFFFF"> <hr>

<a name="top"></a>
<p align=right>
<a href="libIndex.htm"><i>eyBuildLib API Reference :  eyBuildLib</i></a></p>

</blockquote><h1>ebenviron</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  
<p><strong>ebenviron</strong> - CGI environment variable </p>


</blockquote><h4>ROUTINES</h4><blockquote><p>
<p>
<b><a href="./ebenviron.html#initEnviron">initEnviron</a>(&nbsp;)</b>  -  initilize environ struct with current environment <br>
<b><a href="./ebenviron.html#ebCgiInfo">ebCgiInfo</a>(&nbsp;)</b>  -  list current CGI environment.<br>
<b><a href="./ebenviron.html#ebgetenv">ebgetenv</a>(&nbsp;)</b>  -  get the value of envirement variable<br>
<b><a href="./ebenviron.html#getHttpHeader">getHttpHeader</a>(&nbsp;)</b>  -  get the value of specified HTTP header name<br>
<b><a href="./ebenviron.html#getAuthType">getAuthType</a>(&nbsp;)</b>  -  get auth type (<b>AUTH_TYPE</b>)<br>
<b><a href="./ebenviron.html#getContentLength">getContentLength</a>(&nbsp;)</b>  -  get content length (<b>CONTENT_LENGTH</b>)<br>
<b><a href="./ebenviron.html#getContentType">getContentType</a>(&nbsp;)</b>  -  get content type (<b>CONTENT_TYPE</b>)<br>
<b><a href="./ebenviron.html#getGatewayInterface">getGatewayInterface</a>(&nbsp;)</b>  -  get gateway interface (<b>GATEWAY_INTERFACE</b>)<br>
<b><a href="./ebenviron.html#getPathInfo">getPathInfo</a>(&nbsp;)</b>  -  get path info (<b>PATH_INFO</b>)<br>
<b><a href="./ebenviron.html#getPathTranslated">getPathTranslated</a>(&nbsp;)</b>  -  get path info (<b>PATH_INFO</b>)<br>
<b><a href="./ebenviron.html#getQueryString">getQueryString</a>(&nbsp;)</b>  -  get questry string (<b>QUERY_STRING</b>)<br>
<b><a href="./ebenviron.html#getRemoteAddr">getRemoteAddr</a>(&nbsp;)</b>  -  get remote host IP Address or URL (<b>REMOTE_ADDR</b>)<br>
<b><a href="./ebenviron.html#getRemoteHost">getRemoteHost</a>(&nbsp;)</b>  -  get remote host IP Address or URL (<b>REMOTE_HOST</b>)<br>
<b><a href="./ebenviron.html#getRemoteIdent">getRemoteIdent</a>(&nbsp;)</b>  -  get remote ident (<b>REMOTE_IDENT</b>)<br>
<b><a href="./ebenviron.html#getRemotePort">getRemotePort</a>(&nbsp;)</b>  -  get remote host port (<b>REMOTE_PORT</b>)<br>
<b><a href="./ebenviron.html#getRemoteUser">getRemoteUser</a>(&nbsp;)</b>  -  get remote user (<b>REMOTE_USER</b>)<br>
<b><a href="./ebenviron.html#getRequestMethod">getRequestMethod</a>(&nbsp;)</b>  -  get request method (<b>REQUEST_METHOD</b>)<br>
<b><a href="./ebenviron.html#getScriptName">getScriptName</a>(&nbsp;)</b>  -  get script name (<b>SCRIPT_NAME</b>)<br>
<b><a href="./ebenviron.html#getServerAddr">getServerAddr</a>(&nbsp;)</b>  -  get server IP address (<b>SERVER_ADDR</b>)<br>
<b><a href="./ebenviron.html#getServerName">getServerName</a>(&nbsp;)</b>  -  get server name (<b>SERVER_NAME</b>)<br>
<b><a href="./ebenviron.html#getServerPort">getServerPort</a>(&nbsp;)</b>  -  get server port (<b>SERVER_PORT</b>)<br>
<b><a href="./ebenviron.html#getServerProtocol">getServerProtocol</a>(&nbsp;)</b>  -  get server protocol (<b>SERVER_PROTOCOL</b>)<br>
<b><a href="./ebenviron.html#getServerSoftware">getServerSoftware</a>(&nbsp;)</b>  -  get server software (<b>SERVER_SOFTWARE</b>)<br>
<b><a href="./ebenviron.html#getHttpCookie">getHttpCookie</a>(&nbsp;)</b>  -  get HTTP cookie list (<b>HTTP_COOKIE</b>)<br>
<b><a href="./ebenviron.html#getHttpConnection">getHttpConnection</a>(&nbsp;)</b>  -  get connect state (<b>HTTP_CONNECTION</b>)<br>
<b><a href="./ebenviron.html#getUserAgent">getUserAgent</a>(&nbsp;)</b>  -  get remote user agent (<b>HTTP_USER_AGENT</b>)<br>
<b><a href="./ebenviron.html#getLastModified">getLastModified</a>(&nbsp;)</b>  -  get the date last modified (<b>HTTP_IF_MODIFIED_SINCE</b>)<br>
<b><a href="./ebenviron.html#getHttpAccept">getHttpAccept</a>(&nbsp;)</b>  -  get HTTP accept MIME type (<b>HTTP_ACCEPT</b>)<br>
<b><a href="./ebenviron.html#getAcceptLanguage">getAcceptLanguage</a>(&nbsp;)</b>  -  get browser accept language (<b>HTTP_ACCEPT_LANGUAGE</b>)<br>
<b><a href="./ebenviron.html#getAcceptEncode">getAcceptEncode</a>(&nbsp;)</b>  -  get browser accept encode (<b>HTTP_ACCEPT_ENCODING</b>)<br>
<p>
</blockquote><h4>DESCRIPTION</h4><blockquote><p>
CGI environment variable
<p>
</blockquote><h4>INCLUDE</h4><blockquote><p>
<b>ebenviron.h</b>

<hr>
<a name="initEnviron"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib :  Routines</i></a></p>

</blockquote><h1>initEnviron(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  
<p><strong>initEnviron(&nbsp;)</strong> - initilize environ struct with current environment </p>

</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>int initEnviron
    (
    EB_ENVIRON * penv
    )
</pre>

</blockquote><h4>DESCRIPTION</h4><blockquote><p>
</blockquote><h4>RETURN</h4><blockquote><p>
OK/ERROR
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebenviron.html#top">ebenviron</a></b>

<hr>
<a name="ebCgiInfo"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib :  Routines</i></a></p>

</blockquote><h1>ebCgiInfo(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  
<p><strong>ebCgiInfo(&nbsp;)</strong> - list current CGI environment.</p>

</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>int ebCgiInfo
    (
    FILE * fp
    )
</pre>

</blockquote><h4>DESCRIPTION</h4><blockquote><p>
list current CGI environment with HTML format
<p>
</blockquote><h4>RETURN</h4><blockquote><p>
OK/ERROR
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebenviron.html#top">ebenviron</a></b>

<hr>
<a name="ebgetenv"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib :  Routines</i></a></p>

</blockquote><h1>ebgetenv(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  
<p><strong>ebgetenv(&nbsp;)</strong> - get the value of envirement variable</p>

</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>char * ebgetenv
    (
    char * varname
    )
</pre>

</blockquote><h4>DESCRIPTION</h4><blockquote><p>
this routine called <b>xgetenv(&nbsp;)</b>. It will return "" is environment variable
not exist instead return NULL. 
<p>
</blockquote><h4>RETURNS</h4><blockquote><p>
A pointer to the string value, or pointer to const string ""
<p>
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebenviron.html#top">ebenviron</a></b>, <b>stdlib.h</b> <b>getenv(&nbsp;)</b>

<hr>
<a name="getHttpHeader"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib :  Routines</i></a></p>

</blockquote><h1>getHttpHeader(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  
<p><strong>getHttpHeader(&nbsp;)</strong> - get the value of specified HTTP header name</p>

</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>char * getHttpHeader
    (
    char * name
    )
</pre>

</blockquote><h4>DESCRIPTION</h4><blockquote><p>
get the value of specified HTTP header name
<p>
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebenviron.html#top">ebenviron</a></b>, dopost <b><a href="./ebmultiform.html#dopost">dopost</a>(&nbsp;)</b>, <b><a href="./ebmultiform.html#getPostItemValue">getPostItemValue</a>(&nbsp;)</b>, <b><a href="./ebmultiform.html#getPostSrcFileName">getPostSrcFileName</a>(&nbsp;)</b>

<hr>
<a name="getAuthType"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib :  Routines</i></a></p>

</blockquote><h1>getAuthType(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  
<p><strong>getAuthType(&nbsp;)</strong> - get auth type (<b>AUTH_TYPE</b>)</p>

</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>char * getAuthType ()</pre>

</blockquote><h4>DESCRIPTION</h4><blockquote><p>
get auth type (<b>AUTH_TYPE</b>)
<p>
</blockquote><h4>RETURN</h4><blockquote><p>
pointer to auth type, or "" if not found
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebenviron.html#top">ebenviron</a></b>

<hr>
<a name="getContentLength"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib :  Routines</i></a></p>

</blockquote><h1>getContentLength(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  
<p><strong>getContentLength(&nbsp;)</strong> - get content length (<b>CONTENT_LENGTH</b>)</p>

</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>int getContentLength ()</pre>

</blockquote><h4>DESCRIPTION</h4><blockquote><p>
get content length when method is POST (<b>CONTENT_LENGTH</b>)
<p>
</blockquote><h4>RETURN</h4><blockquote><p>
content length, or ERROR if not found
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebenviron.html#top">ebenviron</a></b>

<hr>
<a name="getContentType"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib :  Routines</i></a></p>

</blockquote><h1>getContentType(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  
<p><strong>getContentType(&nbsp;)</strong> - get content type (<b>CONTENT_TYPE</b>)</p>

</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>char * getContentType ()</pre>

</blockquote><h4>DESCRIPTION</h4><blockquote><p>
get content type if method is POST (<b>CONTENT_TYPE</b>)
<p>
</blockquote><h4>RETURN</h4><blockquote><p>
pointer to content type, or "" if not found
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebenviron.html#top">ebenviron</a></b>

<hr>
<a name="getGatewayInterface"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib :  Routines</i></a></p>

</blockquote><h1>getGatewayInterface(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  
<p><strong>getGatewayInterface(&nbsp;)</strong> - get gateway interface (<b>GATEWAY_INTERFACE</b>)</p>

</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>char * getGatewayInterface ()</pre>

</blockquote><h4>DESCRIPTION</h4><blockquote><p>
get gateway interface (<b>GATEWAY_INTERFACE</b>)
<p>
</blockquote><h4>RETURN</h4><blockquote><p>
pointer to gateway interface, otherwise "" if not found
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebenviron.html#top">ebenviron</a></b>

<hr>
<a name="getPathInfo"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib :  Routines</i></a></p>

</blockquote><h1>getPathInfo(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  
<p><strong>getPathInfo(&nbsp;)</strong> - get path info (<b>PATH_INFO</b>)</p>

</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>char * getPathInfo ()</pre>

</blockquote><h4>DESCRIPTION</h4><blockquote><p>
get path info (<b>PATH_INFO</b>)
e.g.: =/cgi-bin/test.cgi 
<p>
</blockquote><h4>RETURN</h4><blockquote><p>
pointer to path info, or "" if not found
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebenviron.html#top">ebenviron</a></b>

<hr>
<a name="getPathTranslated"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib :  Routines</i></a></p>

</blockquote><h1>getPathTranslated(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  
<p><strong>getPathTranslated(&nbsp;)</strong> - get path info (<b>PATH_INFO</b>)</p>

</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>char * getPathTranslated ()</pre>

</blockquote><h4>DESCRIPTION</h4><blockquote><p>
get path info (<b>PATH_INFO</b>)
e.g.: =/cgi-bin/test.cgi 
<p>
</blockquote><h4>RETURN</h4><blockquote><p>
pointer to path info, or "" if not found
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebenviron.html#top">ebenviron</a></b>

<hr>
<a name="getQueryString"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib :  Routines</i></a></p>

</blockquote><h1>getQueryString(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  
<p><strong>getQueryString(&nbsp;)</strong> - get questry string (<b>QUERY_STRING</b>)</p>

</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>char * getQueryString ()</pre>

</blockquote><h4>DESCRIPTION</h4><blockquote><p>
questry string (<b>QUERY_STRING</b>)
<p>
</blockquote><h4>RETURN</h4><blockquote><p>
pointer to questry string, or "" if not found
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebenviron.html#top">ebenviron</a></b>

<hr>
<a name="getRemoteAddr"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib :  Routines</i></a></p>

</blockquote><h1>getRemoteAddr(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  
<p><strong>getRemoteAddr(&nbsp;)</strong> - get remote host IP Address or URL (<b>REMOTE_ADDR</b>)</p>

</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>char * getRemoteAddr ()</pre>

</blockquote><h4>DESCRIPTION</h4><blockquote><p>
get remote host IP Address or URL (<b>REMOTE_ADDR</b>)
<p>
</blockquote><h4>RETURN</h4><blockquote><p>
pointer to remote address, or "" if not found
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebenviron.html#top">ebenviron</a></b>

<hr>
<a name="getRemoteHost"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib :  Routines</i></a></p>

</blockquote><h1>getRemoteHost(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  
<p><strong>getRemoteHost(&nbsp;)</strong> - get remote host IP Address or URL (<b>REMOTE_HOST</b>)</p>

</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>char * getRemoteHost ()</pre>

</blockquote><h4>DESCRIPTION</h4><blockquote><p>
get remote host IP Address or URL (<b>REMOTE_HOST</b>)
<p>
</blockquote><h4>RETURN</h4><blockquote><p>
pointer to remote address, or "" if not found
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebenviron.html#top">ebenviron</a></b>

<hr>
<a name="getRemoteIdent"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib :  Routines</i></a></p>

⌨️ 快捷键说明

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