Re: [RFC][DISCUSSION] Script only includes
| From: | Markus Fischer | Date: | Tue, 10 Feb 2015 08:59:19 +0000 |
| Subject: | Re: [RFC][DISCUSSION] Script only includes | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-82353@lists.php.net to get a copy of this message | ||
On 10.02.15 01:52, Yasuo Ohgaki wrote:
> Some of you are tired with this topic, but please take a look the RFC
>
> [RFC] Script only includes - this is 3rd version.
> https://wiki.php.net/rfc/script_only_include
>
> Please let me know what you like or dislike.
How exactly does this detection work?
> move_uploaded_file() searches “start tag” token if it is located as
the first token.
What constitutes "first token" in this context?
Would this be detected as a PHP file?
-----8<----
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
<?php
phpinfo();
-----8<----
thanks,
- Markus