Advertisement
Guest User

Untitled

a guest
Jan 16th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. $fileNames = array();
  2. // To hold the the file names of all the files available in $_FILES
  3.  
  4. $fileStatus = array();
  5. // hold the file name wise status i.e. TRUE/FALSE like filename => status
  6.  
  7. // 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