Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
--TEST-- Bug #52624 (tempnam() by-pass open_basedir with inexistent directory) --INI-- ope..
Decoded Output download
--TEST--
Bug #52624 (tempnam() by-pass open_basedir with inexistent directory)
--INI--
open_basedir=.
--FILE--
<?php
echo tempnam("directory_that_not_exists", "prefix_");
?>
--EXPECTF--
Notice: tempnam(): file created in the system's temporary directory in %sbug52624.php on line %d
Warning: tempnam(): open_basedir restriction in effect. File(%s) is not within the allowed path(s): (%s) in %s on line %d
Did this file decode correctly?
Original Code
--TEST--
Bug #52624 (tempnam() by-pass open_basedir with inexistent directory)
--INI--
open_basedir=.
--FILE--
<?php
echo tempnam("directory_that_not_exists", "prefix_");
?>
--EXPECTF--
Notice: tempnam(): file created in the system's temporary directory in %sbug52624.php on line %d
Warning: tempnam(): open_basedir restriction in effect. File(%s) is not within the allowed path(s): (%s) in %s on line %d
Function Calls
| tempnam | 1 |
Stats
| MD5 | 3ebd7bf2459387581562f5ef9ac62104 |
| Eval Count | 0 |
| Decode Time | 71 ms |