Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $fileNames = array();
- // To hold the the file names of all the files available in $_FILES
- $fileStatus = array();
- // hold the file name wise status i.e. TRUE/FALSE like filename => status
- // Put a check to ensure all files have a TRUE status, if any one fails then unlink (delete) all the uploaded file for the current session
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement