note 19066 added to functions
| From: | charlesk at netgaintechnology dot com | Date: | Thu, 14 Feb 2002 17:23:01 +0000 |
| Subject: | note 19066 added to functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-26615@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
--
http://www.php.net/manual/en/functions.php
http://master.php.net/manage/user-notes.php?action=edit+19066
http://master.php.net/manage/user-notes.php?action=delete+19066
http://master.php.net/manage/user-notes.php?action=reject+19066