Re: Bug #10853 Updated: PConnect through firewall

From: Date: Mon, 23 Jul 2001 02:56:15 +0000
Subject: Re: Bug #10853 Updated: PConnect through firewall
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-60720@lists.php.net to get a copy of this message
This mail should have been sent when the case is updated, not when the case is closed. I don't remember of any mail update about this issue, and the users (including me) don't have the time to check every day if the developers did an update. On of the bugs I reported took 2 months to be fixed. At 04:59 PM 7/22/01 +0000, you wrote:
ID: 10853 Updated by: andy Reported By: jesus.estrada@qnet.com.mx Old Status: Feedback Status: Closed Bug Type: Sybase (dblib) related Operating System: RH6.2 PHP Version: 4.0.4pl1 New Comment: no feedback after 40 days. Previous Comments: ------------------------------------------------------------------------ [2001-06-12 17:43:55] sniper@php.net Could you try with server that is NOT behind firewall? Does this happen then? ------------------------------------------------------------------------ [2001-05-14 11:54:38] jesus.estrada@qnet.com.mx When I use persistent connections to a MS Sql server that is behind a firewall, If I refresh the page fast enough (about 10 refreshes per second) one of the connections will be opened with problems. I'm using ADODB and the mssql extension. However I had the same problem with the raw functions of php. This is the code: Class Data_Mensajes {
    function Load(&$objMensajesNegocio) {
                $objMensajes = &$objMensajesNegocio;
                include('/usr/local/apache/componentes/adodb/adodb.inc.php');
                ADOLoadCode('mssql');
                //Nos conectamos al servidor de BD
                $con = &ADONewConnection();
if($con->PConnect("200.52.76.2","Mexmatch","qf3ae$+as","MexMatch")) {
                        $query= "Select * From Mensaje Where IDUsuarioPara = 'WERA'";
                        $result = $con->Execute($query);
                        $i=0;
                        while(!$result->EOF) {
                                //$objBusiness_Mensaje[$i] = new Business_Mensaje();
                                $objBusiness_Mensaje = new Business_Mensaje();
$objBusiness_Mensaje->setIDMensaje($result->fields[0]); $objBusiness_Mensaje->setIDUsuarioDe($result->fields[1]); $objBusiness_Mensaje->setIDUsuarioPara($result->fields[2]); $objBusiness_Mensaje->setSubject($result->fields[3]); $objBusiness_Mensaje->setCuerpo($result->fields[4]); $objBusiness_Mensaje->setFecha($result->fields[5]); $objMensajes->setMensajes($objBusiness_Mensaje);
                                $result->MoveNext();
                                $i++;
                        }
                }
                $result->Close();
                $con->Close();
        }
} // Fin de Clase Data_Mensajes ------------------------------------------------------------------------ ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10853&edit=2


« previous php.dev (#60720) next »