This sounds like a dumb question, but after downloading the file, the file is not in the place where php said it would be.
First a simple test page:
<html><body> <h1><?=$_FILES['imgup']['tmp_name'];?></h1> <? print_r($_FILES); ?> <form enctype="multipart/form-data" method="post" action="upload.php"> <input type="file" name="imgup" id="imgup"> <input type="submit"> </form> </body></html>
Now, print_r is in plain text:
Array ( [imgup] => Array ( [name] => ace.jpg [type] => image/jpeg [tmp_name] => /tmp/phpEdfBjs [error] => 0 [size] => 29737 ) )
Thus, no error, the standard search path, but / tmp does not have such a file. In addition, when starting a search, bubbles appear on my entire system.
FYI: php.ini has
max_execution_time = 120 file_uploads = On upload_max_filesize = 2M
and the file I uploaded is 29k
Any thoughts?
Frank conry
source share