PHP File Uploader Class Reference
PhpUploadFile.FileName Property
Gets the name of the file.
<?php
//Gets the GUID of the file based on uploader name
$fileguid
=@
$_POST
[
"myuploader"
];
if
(
$fileguid
)
{
//get the uploaded file based on GUID
$mvcfile
=
$uploader
->GetUploadedFile(
$fileguid
);
if
(
$mvcfile
)
{
//Gets the name of the file.
echo
(
$mvcfile
->FileName);
}
}
?>