Javascript validator
Web page editor
↑
File::writeChar() -- writes a single character to a file
Note
This function can be called
statically.
Example
Example 44-1. Using File::writeChar() <?php
require_once 'File.php';
$e = File::write('test.txt', 'a');
if (PEAR::isError($e)) {
echo 'Could not write to file : ' . $e->getMessage();
} else {
echo "Successfully wrote to file test.txt\n";
}
?> |
|
→
Javascript validator
Web page editor