---
title: "ClientEvents.AfterPackageUpload Property  HTML5/Flash Uploader PHP"
canonical: https://www.aurigma.com/docs/us8/FH_P_P_ClientEvents_AfterPackageUpload.htm
product: "Upload Suite 8"
---

# ClientEvents.AfterPackageUpload Property HTML5/Flash Uploader PHP

Supported technologies: ![Adobe Flash](https://www.aurigma.com/docs/us8/icons/flash.png)![HTML 5](https://www.aurigma.com/docs/us8/icons/html5.png)
 
Gets or sets an array of **AfterPackageUpload** event handlers.

## Syntax
 
```
public function &getAfterPackageUpload() {
}

public function setAfterPackageUpload($value) {
}
```
 
### Property Value
 
Type: **array**
 
The string containing the name of **AfterPackageUpload** event handler or an array of handler names.

## Remarks
 
This event fires when the current package was uploaded successfully.
 
### Parameters
 
 - fileIndex
     - zero-based index of the package (i.e. request) inside the current upload session.

 - response
     - HTML code of the page returned from the server-side upload script after processing a current package.

### Returns
 
A boolean value (`true` or `false`). If event handler returns `false`, the upload process stops and the **Progress** event is fired with error code `18`.

## See Also
 
### Reference
 
- [$au.events.afterPackageUpload JavaScript Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_J_$au_events_afterPackageUpload.htm.md)

### Manual
 
- [Using HTML5/Flash Uploader at Runtime](https://www.aurigma.com/docs/us8/using-image-uploader-flash-at-runtime.htm.md)
