<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>posix_access constants</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="posix.constants.html">Predefined Constants</a></div> <div class="next" style="text-align: right; float: right;"><a href="posix.constants.mknod.html">posix_mknod constants</a></div> <div class="up"><a href="posix.constants.html">Predefined Constants</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="posix.constants.access" class="section"> <h2 class="title"><span class="function"><a href="function.posix-access.html" class="function">posix_access()</a></span> constants</h2> <blockquote class="note"><p><strong class="note">Note</strong>: <p class="para"> These constants are available starting with PHP 5.1.0. Please note that some of them may not be available on your system. </p> </p></blockquote> <dl> <dt id="constant.posix-f-ok"> <strong><code>POSIX_F_OK</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> Check whether the file exists. </span> </dd> <dt id="constant.posix-r-ok"> <strong><code>POSIX_R_OK</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> Check whether the file exists and has read permissions. </span> </dd> <dt id="constant.posix-w-ok"> <strong><code>POSIX_W_OK</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> Check whether the file exists and has write permissions. </span> </dd> <dt id="constant.posix-x-ok"> <strong><code>POSIX_X_OK</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> Check whether the file exists and has execute permissions. </span> </dd> </dl> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="posix.constants.html">Predefined Constants</a></div> <div class="next" style="text-align: right; float: right;"><a href="posix.constants.mknod.html">posix_mknod constants</a></div> <div class="up"><a href="posix.constants.html">Predefined Constants</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>