1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
\r
4 <link href="style.css" REL="stylesheet" TYPE="text/css" MEDIA="screen">
\r
5 <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
\r
6 <title>Xestia Scanner Server Documentation - Developer Documentation - 1.7 xestiascan_filepermissions</title>
\r
9 <div class="menubarback">
\r
10 <div class="menubar">
\r
11 <span class="apptitle">Xestia Scanner Server</span>
\r
12 <a href="index.html">Index</a> | <a href="user.html">User
\r
13 Documentation</a> | <a href="tutorial.html">Tutorial Documentation</a> |
\r
14 <a href="developer.html">Developer Documentation</a>
\r
17 <div class="pageinformation">
\r
18 <span class="pagetitle">1.7 xestiascan_filepermissions</span>
\r
20 xestiascan_filepermissions checks if the file permissions of a file to see if they are valid and returns a value if the file permissions are invalid.
\r
25 xestiascan_filepermissions(filename, read, write, filemissingskip);
\r
31 $file_permissions = xestiascan_filepermissions(“test.html”, 1);<br>
\r
32 $file_permissions = xestiascan_filepermissions(“test.html”, 1,1);<br>
\r
33 $file_permissions = xestiascan_filepermissions(“test.html”, 1, 0, 1);
\r
37 Specifies the filename to check for valid file permissions. This is required each time the subroutine is called.
\r
40 Check if the file with the filename given has valid read permissions.
\r
43 Check if the file with the filename given has valid write permissions.
\r
45 <i>filemissingskip</i><br>
\r
46 If the file is missing then skip the permissions check (normally used if a file doesn’t exist and then has to be created).
\r