| Signatur | string docorg__file_put_contents( string $sid, string $path, string $data [, int $flags [, string $contentType]] ) |
| Parameter |
|
| Returns | string array('ok' => bool, 'bytesWritten' => int) |
| Description | writes the given $data to $path. $data must be base64 encoded, even if you're trying to write plain text data. Using $flags you can opt to append $data to the given $path instead of overwriting it if it already exists. |