From: <[EMAIL PROTECTED]>

> 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

Wild guess here, but it looks like you're trying to do an UPDATE query where
you're only allowed to do a SELECT query (read-only). The error is not
because of eval(), it's because of an incorrect usage of ibase_execute().

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to