tao-test/app/vendor/respect/validation/docs/rules/Uploaded.md

25 lines
490 B
Markdown
Raw Normal View History

2022-08-29 20:14:13 +02:00
# Uploaded
- `v::uploaded()`
Validates if the given data is a file that was uploaded via HTTP POST.
```php
v::uploaded()->validate('/path/of/an/uploaded/file'); // true
```
***
See also:
* [Directory](Directory.md)
* [Executable](Executable.md)
* [Exists](Exists.md)
* [Extension](Extension.md)
* [File](File.md)
* [Image](Image.md)
* [Mimetype](Mimetype.md)
* [Readable](Readable.md)
* [Size](Size.md)
* [SymbolicLink](SymbolicLink.md)
* [Writable](Writable.md)