Registering HTML5/Flash Uploader

Supported technologies: Adobe FlashHTML 5
Note

HTML5/Flash Uploader Express does not support multiple license keys. See the Upload Suite Editions topic for details.

To register a license key just specify it as a value of the ImageUploaderFlash.LicenseKeyLicenseKey (ASP.NET)LicenseKey (PHP)licenseKey (JavaScript) property. Here is how you can do that (note that if you have several keys, they should be separated with semicolons):

ASP.NET
<aur:ImageUploaderFlash ID="Uploader1" runat="server" 
	LicenseKey="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXXX;YYYYY-YYYYY-YYYYY-YYYYY-YYYYY">
</aur:ImageUploaderFlash>	
PHP
$uploader = new ImageUploaderFlash("Uploader1");
$uploader->setLicenseKey("XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXXX;YYYYY-YYYYY-YYYYY-YYYYY-YYYYY");
JavaScript
$au.imageUploaderFlash({
	id: 'Uploader1',
	licenseKey: 'XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXXX;YYYYY-YYYYY-YYYYY-YYYYY-YYYYY'
});

Preparing Server Side for IP License

For an IP license you should additionally put a file in a folder containing your page with HTML5/Flash Uploader host page. The file should contain public IP address of your Web server used for activation. The address should be specified in the following format: xxx.xxx.xxx.xxx, for example, 216.121.119.244. A file name should be as follows: address.xxx, where xxx is a file extension of a host page. For example, if you host HTML5/Flash Uploader on a page with the uploader.php name, then the file should be named address.php.

See Also

Reference

Manual