Bug #2456: invalid character
| From: | herbert at widesoft dot com dot br | Date: | Wed, 06 Oct 1999 20:12:46 +0000 |
| Subject: | Bug #2456: invalid character | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11580@lists.php.net to get a copy of this message | ||
From: herbert@widesoft.com.br
Operating system: Solaris
PHP version: 3.0.12
PHP Bug Type: Oracle related
Bug description: invalid character
the script is
$ps = 'insert into tideia ';
$ps .= '(snome, semail, sassunto, mmideia, sip) values ';
$ps .= "('$nome', '$email', '$assunto', '$ideia',
'$ip');";
$c = ocilogon("login", "password", "ORACLEID");
$s = ociparse($c, $ps);
ociexecute($s, OCI_DEFAULT);
ocilogoff($c);
the result is
Warning: OCIStmtExecute: ORA-00911: invalid character in
/usr/local/system/wideadm/www/eparpite/adicdb.php3 on line 31
OCIDebug: _oci8_free_stmt: id=2 last_query="insert into tideia (snome, semail, sassunto,
mmideia, sip) values ('Herbert G. Fischer', 'herbert@widesoft.com.br',
'Site de Downloads', 'hello world', '127.0.0.1');"
I've tryed anything but it always give me this error.