Purpose: Writes the body to the file denoted by Expression. If a second parameter is specified, the body is appended to the file. If the file doesn't exist, it is created.
Anything you type between the opening and closing writefile tags is processed in HTML mode where the resulting string output is not sent to the browser, as usual, but to the file denoted by Expression. The Expression must evaluate to a string.
The writefile Tag is not allowed in
See Also: Contents of a file can be read using the function readFileLines().
© 1996-2023 H.E.I. All Rights Reserved.