help with EVAL direct
| From: | j dot sobotka at psgraph dot cz | Date: | Tue, 04 Nov 2003 10:19:19 +0000 |
| Subject: | help with EVAL direct | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-168456@lists.php.net to get a copy of this message | ||
Hello, you are last help
help my please
OS RedHat 9 and RedHat 7.2
Apache 1.3.27 and Apache 2
I have problem with direct eval, in version PHP4.2.2 is all OK
in version PHP 4.3.3 -> direct eval bad
here cut code
$s = '$ret = ibase_execute($this->query, $arg_list[0], $arg_list[1],
$arg_list[2], $arg_list[3], $arg_list[4], $arg_list[5], $arg_list[6]);';
eval($s);
end cut code
in PHP 4.3.3 -> log message
[Tue Nov 4 08:37:07 2003] [error] PHP Warning: ibase_execute():
attempted update during read-only transaction in
/www/test.php(204) : eval()'d code on line 1
not write to DB
WHERE IS PROBLEM ??
Thanks you