shedokan Posted August 20, 2008 Share Posted August 20, 2008 how can I upload a file and get its contents without saving it to the server? Link to comment https://forums.phpfreaks.com/topic/120454-solved-uploading-a-file-and-get-its-contents/ Share on other sites More sharing options...
vbnullchar Posted August 20, 2008 Share Posted August 20, 2008 when you uploaded a file it is already saved in a tmp directory... $contents = file_get_contents($_FILES['filedata']['tmp_name']); Link to comment https://forums.phpfreaks.com/topic/120454-solved-uploading-a-file-and-get-its-contents/#findComment-620663 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.