This will check if the filename field in the $_POST exists and is not empty. If it
is empty, use the image name from $_FILES instead.
NOTE: The form field "filename" has not been changed to a text field. It is still hidden. Once this is fully vetted and ready for public consumption, we can enable it.
This will check if the filename field in the $_POST exists and is not empty. If it is empty, use the image name from $_FILES instead.
NOTE: The form field "filename" has not been changed to a text field. It is still hidden. Once this is fully vetted and ready for public consumption, we can enable it.