string getClientOriginalExtension() Returns the original file extension. It is extracted
string|null getClientOriginalName() Returns the original file name. It is extracted from
class UploadedFile extends File
int getError() Returns the upload error. If the upload was successful, the constant UPLOADERROK
class File extends SplFileInfo
string getErrorMessage() Returns an informative upload error message.
File move(string $directory, string $name
bool isValid() Returns whether the file was uploaded successfully.
Classes
string|null getMimeType() Returns the mime type of the file. The mime type is guessed
Page 1 of 2