|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-11-05 10:53 UTC] pgalan at cscamaras dot es
I got the following error:
/Compile-PATH/php-4.0.6/ext/informix/ifx.ec(996) : Freeing 0x00250CF8 (372 bytes), script=-
when i execute the following script:
#!/usr/local/bin/php
<?php
if ( !($db = ifx_connect($bd,$user,$passw) ) ) {
echo "No hay conexion con la base de datos".ifx_errormsg();
exit;
}
$sql = "SELECT * FROM xxxx WHERE yyyy LIKE 'zz%'";
if ( !$query = (ifx_query($sql,$db)) ) {
echo "Se ha producido un error en la conexion, intentelo mas tarde";
exit;
}
?>
My informix client is I-Connect 2.50
Thaks
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 11:00:01 2025 UTC |
I've noticed that there is still a bug from previous releases in the latest snapshot If yout try to execute any php script like a shell script, you know: #!/usr/local/bin/php ... php includes this first line in the result output. This bug is reported previously and the solution is making a simple change in the .../sapi/cgi/cgi_main.c module about line 732: else if (retval == SUCCESS) { /* #!php support */