Deletes this instance.
- <?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)
- {
- //Deletes this instance.
- $mvcfile->Delete();
- }
- }
- ?>