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

16 lines
211 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__);
2007-11-15 22:14:15 +00:00
$a=glob($dir . "/test.*");
2007-06-22 12:35:41 +00:00
print_r($a);
?>
--EXPECTF--
Array
(
2007-11-15 22:14:15 +00:00
[0] => %stest.csv
2007-06-22 12:35:41 +00:00
)