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? Link to comment https://forums.phpfreaks.com/topic/29731-question-about-file-uploads/ 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 Link to comment https://forums.phpfreaks.com/topic/29731-question-about-file-uploads/#findComment-136610 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.