mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
updated readme
This commit is contained in:
parent
59519bad2c
commit
0a9b035800
1 changed files with 9 additions and 0 deletions
|
|
@ -102,6 +102,15 @@ fwrite($fh, 'bar');
|
||||||
fclose($fh);
|
fclose($fh);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Note**: write() will truncate your file to 0bytes. You may open a writeable stream with append() which will point
|
||||||
|
the cursor to the end of the file or create it if it does not exists yet. (append() is only compatible with libsmbclient-php)
|
||||||
|
```php
|
||||||
|
$fh = $share->append('test.txt');
|
||||||
|
fwrite($fh, 'bar');
|
||||||
|
fclose($fh);
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### Using notify
|
### Using notify
|
||||||
|
|
||||||
```php
|
```php
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue