mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 23:35:45 +01:00
30 lines
543 B
Markdown
30 lines
543 B
Markdown
# Uploaded
|
|
|
|
- `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
|
|
```
|
|
|
|
## Changelog
|
|
|
|
Version | Description
|
|
--------|-------------
|
|
0.5.0 | Created
|
|
|
|
***
|
|
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)
|