<?php @mkdir("/tmp/t/a/b/c",0777,true); file_put_contents("/tmp/t/a/b/b.php","MARKER"); $prefix="/tmp/t/a/b/c/x-"; $p1=$prefix."../../b".".php"; var_dump($p1, file_exists($p1), realpath($p1)); $p2=$prefix."..%2F..%2Fb.php"; var_dump(file_exists("/tmp/t/a/b/c/x-".chr(0)));
You have javascript disabled. You will not be able to edit any code.