php-src/ext/standard/tests/file/bug41655_2.phpt

18 lines
280 B
Plaintext
Raw Normal View History

2007-06-22 12:35:41 +00:00
--TEST--
2007-09-20 13:49:33 +00:00
Bug #41655 (open_basedir bypass via glob()) 2/2
2007-06-22 12:35:41 +00:00
--INI--
open_basedir=/
--FILE--
<?php
$dir = dirname(__FILE__);
$a=glob($dir . "/bug41655*.*");
print_r($a);
?>
--EXPECTF--
Array
(
2007-09-13 18:55:28 +00:00
[0] => %sbug41655_1.phpt
[1] => %sbug41655_2.php
[2] => %sbug41655_2.phpt
2007-06-22 12:35:41 +00:00
)