---
title: "Restrictions.MaxFileCount Property  HTML5/Flash Uploader PHP"
canonical: https://www.aurigma.com/docs/us8/FH_P_P_Restrictions_MaxFileCount.htm
product: "Upload Suite 8"
---

# Restrictions.MaxFileCount Property HTML5/Flash Uploader PHP

Supported technologies: ![Adobe Flash](https://www.aurigma.com/docs/us8/icons/flash.png)
 
Gets or sets a maximum number of files allowed for upload per one session.

## Syntax
 
```
public function getMaxFileCount() {
}

public function setMaxFileCount($value) {
}
```
 
### Property Value
 
Type: **integer**
 
The maximum file count allowed for upload per one session. If the value is `0` then there is no limit.
 
Default value is **0**.

## See Also
 
### Reference
 
- [Aurigma.ImageUploaderFlash.Restrictions.MaxFileCount ASP.NET Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_Restrictions_MaxFileCount.htm.md)
- [$au.restrictions.maxFileCount JavaScript Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_J_$au_restrictions_maxFileCount.htm.md)
