ID:               30721
 Updated by:       [email protected]
 Reported By:      mignoni at gmail dot com
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         Sybase-ct (ctlib) related
 Operating System: Windows XP
 PHP Version:      4.3.9
 New Comment:

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".


Previous Comments:
------------------------------------------------------------------------

[2005-02-03 04:45:27] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



------------------------------------------------------------------------

[2004-11-08 17:21:29] mignoni at gmail dot com

Description:
------------
    I installed sybase 12.5.2 (Linux) and apache (Windows XP) and php
4.3.9 (Windows XP) on the same server, the php testing is no problem.
    But i use function sybase_connect() in program testeConexao.php,
when i open the file
in IE, error messages :
============================
Warning: sybase_connect(): Sybase: Unable to allocate connection record
in D:\WebServer\homebanking\include\testeConexao.php on line 15
============================

    I search all the internet, don't find the reason and the solution.

    PLase Help me, Thanks a lot.

    Bruno Mignoni



Reproduce code:
---------------
session_start();

$config["BANCO"]["usuario"] = "sa";
$config["BANCO"]["senha"] = "olaolaola";
$config["BANCO"]["host"] = "srvdatabase";
$config["BANCO"]["database"] = "ola";

if(!$bd=sybase_connect($config["BANCO"]["host"],
$config["BANCO"]["usuario"], $config["BANCO"]["senha"], NULL,
"HOMEBANKING 0100")){
        echo("ERROR");
        exit;
}else{
        if([EMAIL PROTECTED]($config["BANCO"]["database"],$bd)){
                echo("ERRO - DataBase");
                exit;
        }else{
                set_time_limit($config["TEMPO_LIMITE"]);
        } 
}



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30721&edit=1

Reply via email to