Problems with php file upload (some file types don't work need to upload a ".eml")
Posted on 2007-10-15
I have a problem with the php upload. it works great with text files but when I try to upload ".eml" it doesn't work :(
Notice: Undefined index: file_upload in c:\program files\easyphp1-8\www\upload\_upload_process.php on line 14
has been uploaded.
My code is:
$target_path = "data_sets\/";
$filename = $target_path.$original_name."_uploadDATE_".$today."_USER_".$_SESSION['user'].".txt";
echo $_FILES['file_upload']['name']." has been uploaded.";
It works with nearly all types of files, but not the ones I need (".eml")... Any ideas?