I tried that. I'm not exactly sure how it works to remove a file. It is going to my removeFile function but it's not passing the file name.
Can you see what is wrong?
$vRemoveFile="$logoFileDir/$eventIDArray[$index]$specialFileExtension";
I also have:
PRINT"<FORM NAME=\"remove\" ACTION=\"event.php?section=removeFile&orgID=$orgID\" METHOD=\"POST\">";
<INPUT TYPE="HIDDEN" VALUE="<?=$vRemoveFile?>" name="vRemoveFile">
<INPUT TYPE=Submit VALUE=Remove></form>
once I figure out why the $vRemoveFile isn't working how do I remove that file?? In removeFile function I have:
if(!unlink($vRemoveFile))
print("failed to delete $vRemoveFile, please contact administrator.<br>\n");
This give error message of:
Unlink failed (No such file or directory)
Any help would be greatly appreciated!