Re: [RFC] Script only include/require
| From: | Yasuo Ohgaki | Date: | Tue, 24 Feb 2015 23:00:21 +0000 |
| Subject: | Re: [RFC] Script only include/require | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-83713@lists.php.net to get a copy of this message | ||
Hi Stas,
On Wed, Feb 25, 2015 at 7:53 AM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
> require('cuteponies.gif) wouldn't work with this RFC.
> move_uploaded_files() prohibits uploading PHP script.
> I noticed that I should forbid destination file extension also by this
> discussion.
> I'll add it soon. Thank you.
>
Oops, I did it right. I forbid destination path to be PHP script.
No change is required to move_uploaded_file().
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net