Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Incorrect link fixed.
[kiriwrite/.git] / Documentation / English (British) / developer-chapter1-kiriwritefilepermissions.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">\r
2 <html>\r
3         <head>\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>Kiriwrite Documentation - Developer Documentation - 1.37: kiriwrite_filepermissions</title>\r
7         </head>\r
8         <body>\r
9                 <div class="menubarback">\r
10                         <div class="menubar">\r
11                                 <span class="apptitle">Kiriwrite</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
15                         </div>\r
16                 </div>\r
17                 <div class="pageinformation">\r
18                         <span class="pagetitle">1.37 kiriwrite_filepermissions</span><br><br>\r
19 \r
20 kiriwrite_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.<br><br>\r
21 \r
22 <span class="heading">Parameters:</span><br><br>\r
23 \r
24 <div class="code">\r
25     kiriwrite_filepermissions(filename, read, write, filemissingskip);\r
26 </div>\r
27 \r
28 <br>\r
29 \r
30 <span class="heading">Usage:</span><br><br>\r
31 \r
32 <div class="code">\r
33     $file_permissions = kiriwrite_filepermissions(&quot;test.html&quot;, 1);<br>\r
34     $file_permissions = kiriwrite_filepermissions(&quot;test.html&quot;, 1, 1);\r
35     $file_permissions = kiriwrite_filepermissions(&quot;test.html&quot;, 1, 0, 1);\r
36 </div>\r
37 \r
38 <br>\r
39 \r
40 filename<br>\r
41 Specifies the filename to check for valid file permissions. This is required each time the subroutine is called.<br><br>\r
42 \r
43 <i>read</i><br>\r
44 Check if the file with the filename given has valid read permissions.<br><br>\r
45 \r
46 <i>write</i><br>\r
47 Check if the file with the filename given has valid write permissions.<br><br>\r
48 \r
49 <i>filemissingskip</i><br>\r
50 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
51                 </div>\r
52         </body>\r
53 </html>\r
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy