CodeCharge Studio

GetFileName Method (PHP)

Applies to

FileUpload Control

Syntax

<control>->GetFileName()

Description

This method extracts the name of an uploaded file (without the unique suffix). It can be used to check the original file extension or construct an alternative filename for saving the file.


On-line, printable versions and updates