note 19066 rejected from functions by hholzgra
| From: | hholzgra@php.net | Date: | Tue, 05 Mar 2002 13:56:09 +0000 |
| Subject: | note 19066 rejected from functions by hholzgra | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-27373@lists.php.net to get a copy of this message | ||
In regards to Post: 17-Nov-2000 11:06
Has anyone considered the security exposures with this sort of code?
I found that this also works for user defined functions. It looks like this can even be done in
safe mode.
ini_set("safe_mode","1");
function test() {
echo "this is a function";
}
$date = "test";
echo $date();
Charles Killmer
PHP 4.1.0 IIS 5 Windows 2000 Server