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

📄 security.cgi-bin.shell.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Case 4: PHP parser outside of web tree</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="security.cgi-bin.html">Installed as CGI binary</a></div> <div class="next" style="text-align: right; float: right;"><a href="security.apache.html">Installed as an Apache module</a></div> <div class="up"><a href="security.cgi-bin.html">Installed as CGI binary</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="security.cgi-bin.shell" class="sect1">    <h2 class="title">Case 4: PHP parser outside of web tree</h2>    <p class="para">     A very secure option is to put the PHP parser binary somewhere     outside of the web tree of files.  In <var class="filename">/usr/local/bin</var>, for example.  The only real     downside to this option is that you will now have to put a line     similar to:     <div class="informalexample">      <div class="example-contents"><div class="cdata"><pre>#!/usr/local/bin/php</pre></div>      </div>     </div>     as the first line of any file containing PHP tags.  You will also     need to make the file executable.  That is, treat it exactly as     you would treat any other CGI script written in Perl or sh or any     other common scripting language which uses the     <i>#!</i> shell-escape mechanism for launching     itself.    </p>    <p class="para">     To get PHP to handle <span class="envar">PATH_INFO</span> and     <span class="envar">PATH_TRANSLATED</span> information correctly with this     setup, the PHP parser should be compiled with the <a href="configure.html#configure.enable-discard-path" class="link">--enable-discard-path</a>     configure option.    </p>   </div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="security.cgi-bin.html">Installed as CGI binary</a></div> <div class="next" style="text-align: right; float: right;"><a href="security.apache.html">Installed as an Apache module</a></div> <div class="up"><a href="security.cgi-bin.html">Installed as CGI binary</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

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