ablock Posted December 6, 2006 Share Posted December 6, 2006 Why can't I access the temporary file that php creates when uploading a file (either through ajax or an iframe) to determine the size of the file? What are the mechanics of what happens during a file upload? Quote Link to comment Share on other sites More sharing options...
willfitch Posted December 7, 2006 Share Posted December 7, 2006 You absolutely can access the tmp file. Accessing the tmp file can be done through this:$_FILES['file_name']['tmp_file']This is the actual temporary file name assigned by PHP.Check out the documentation here: http://us3.php.net/manual/en/features.file-upload.php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.