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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to