Changes

Jump to: navigation, search

PHP, Filesystems and File I/O

No change in size, 18:03, 1 February 2016
m
Text replacement - "<google>ADSDAQBOX_FLOW</google>" to "<htmlet>adsdaqbox_flow</htmlet>"
Existing files are opened, and new files created using the PHP ''fopen()'' function. The ''fopen()'' function accepts two arguments and returns a ''file handle'' which is subsequently used for all future read and write interactions with that file. The first argument is the name (including the path) of the file to open. This path is relative to the server filesystem root, not your web server root. The second argument is an attribute indicating the mode in which to open the file (create, read only, write only etc). The following table lists the various file open attributes together with a brief description of each:
<googlehtmlet>ADSDAQBOX_FLOWadsdaqbox_flow</googlehtmlet>
<table border="1" cellspacing="0">
<tr style="background:#efefef;">

Navigation menu