function.get-current-user.html

来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 60 行

HTML
60
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Gets the name of the owner of the current PHP script</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="function.get-cfg-var.html">get_cfg_var</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.get-defined-constants.html">get_defined_constants</a></div> <div class="up"><a href="ref.info.html">PHP Options/Info Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.get-current-user" class="refentry"> <div class="refnamediv">  <h1 class="refname">get_current_user</h1>  <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">get_current_user</span> &mdash; <span class="dc-title">Gets the name of the owner of the current PHP script</span></p> </div>  <div class="refsect1 description">  <h3 class="title">Description</h3>  <div class="methodsynopsis dc-description">   <span class="type">string</span> <span class="methodname"><b><b>get_current_user</b></b></span>    ( <span class="methodparam">void</span>   )</div>  <p class="simpara">   Returns the name of the owner of the current PHP script.  </p> </div> <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="para">   Returns the username as a string.  </p> </div> <div class="refsect1 seealso">  <h3 class="title">See Also</h3>  <p class="para">   <ul class="simplelist">    <li class="member"><a href="function.getmyuid.html" class="function" rel="rdfs-seeAlso">getmyuid()</a></li>    <li class="member"><a href="function.getmygid.html" class="function" rel="rdfs-seeAlso">getmygid()</a></li>    <li class="member"><a href="function.getmypid.html" class="function" rel="rdfs-seeAlso">getmypid()</a></li>    <li class="member"><a href="function.getmyinode.html" class="function" rel="rdfs-seeAlso">getmyinode()</a></li>    <li class="member"><a href="function.getlastmod.html" class="function" rel="rdfs-seeAlso">getlastmod()</a></li>   </ul>  </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.get-cfg-var.html">get_cfg_var</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.get-defined-constants.html">get_defined_constants</a></div> <div class="up"><a href="ref.info.html">PHP Options/Info Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

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