I am creating a upload file status bar with a FORM POST having file tag. Is there a way to read the temp file name (path) where file bytes are saving during upload.
$_FILES['image']['tmp_name']
I want to know the name of the above file before file uploaded.
As i tried above variables does not give value before file uploaded and also PHP use his own random genterated name to store file first in temp folder after a visiter post a form with file input tag.
After i press form submit button, PHP server start listening (read file). is there a way to determine the file name where PHP server is saving so that we can calculate its size every second to show visiter a status bar that how much file has been uploaded.