Bug #74189 [Opn]: weird notice on file upload
| From: | costinel dot manole at gmail dot com | Date: | Wed, 01 Mar 2017 10:41:14 +0000 |
| Subject: | Bug #74189 [Opn]: weird notice on file upload | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-207625@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74189&edit=1
ID: 74189
User updated by: costinel dot manole at gmail dot com
Reported by: costinel dot manole at gmail dot com
Summary: weird notice on file upload
Status: Open
Type: Bug
Package: *General Issues
Operating System: Centos 7
PHP Version: 7.1.2
Block user comment: N
Private report: N
New Comment:
I have already tried.
upload_tmp_dir = "/tmp/httpd/upload"
sys_temp_dir = "/tmp/httpd"
Anyway, I have no problems with file uploading and I don't need to change any config. I just
wanted to report that the notice is not displaying ok ("Unknown on line 0"). Also I would
like to turn off this notice, if it's possible. I upload files every hour and I don't want
any notice to inform me that I have sucessfuly uploaded files.
Previous Comments:
------------------------------------------------------------------------
[2017-03-01 10:29:54] spam2 at rhsoft dot net
what about just not using /tmp for file uploads?
something like: upload_tmp_dir = "/var/www/uploadtemp"
or way better a own "upload_tmp_dir" for every virtual host so that one can't steel
temp file from other users?
------------------------------------------------------------------------
[2017-03-01 10:03:50] costinel dot manole at gmail dot com
Description:
------------
Since installing php 7.1.2 I got my errror log full of this notice
"PHP Notice: Unknown: file created in the system's temporary directory in Unknown on line
0"
It apears every time I upload a file.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74189&edit=1