respect-validation/docs/rules/Uploaded.md

36 lines
605 B
Markdown
Raw Normal View History

2015-01-30 09:40:06 +01:00
# Uploaded
- `Uploaded()`
2015-01-30 09:40:06 +01:00
Validates if the given data is a file that was uploaded via HTTP POST.
```php
v::uploaded()->validate('/path/of/an/uploaded/file'); // true
2015-01-30 09:40:06 +01:00
```
## Categorization
- File system
## Changelog
Version | Description
--------|-------------
2.1.0 | Add PSR-7 support
0.5.0 | Created
***
See also:
- [Directory](Directory.md)
- [Executable](Executable.md)
- [Exists](Exists.md)
- [Extension](Extension.md)
- [File](File.md)
2018-12-11 13:31:50 +01:00
- [Image](Image.md)
- [Mimetype](Mimetype.md)
- [Readable](Readable.md)
- [Size](Size.md)
- [SymbolicLink](SymbolicLink.md)
- [Writable](Writable.md)