php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7658 Apache segmentation fault error (11) in ibase_query/_prepare
Submitted: 2000-11-06 04:09 UTC Modified: 2000-11-06 04:19 UTC
From: osvaldot at advcom dot it Assigned:
Status: Closed Package: InterBase related
PHP Version: 4.0.3pl1 OS: linux
Private report: No CVE-ID: None
 [2000-11-06 04:09 UTC] osvaldot at advcom dot it
$query = ibase_prepare("SELECT * FROM table where filed= ?");
$result=ibase_execute($query, $value);

On php version > php4.0.1pl2 this fuction return:
to the Brouser: Document contain no data,
Apache: Segmentation Fault error (11)

I have result the problem, but It is the right sintax ???

$Q="SELECT * from table where field ='$value' ";
$query= ibase_prepare($Q);
$result=ibase_execute($query);

Best Reguard
Osvaldo Tulini osvaldot@advcom.it

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-06 04:19 UTC] jah@php.net
Already fixed in current CVS. Wait for 4.0.4 or fetch a new
version of ext/interbase/interbase.c from

http://cvs.php.net/viewcvs.cgi/~checkout~/php4/ext/interbase/interbase.c?rev=1.45

and recompile.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Nov 25 11:01:33 2024 UTC