Ver Mensaje Individual
  #4 (permalink)  
Antiguo 06/07/2011, 16:00
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: Conectar Php Con Oracle Error

Prueba la siguiente modificación:
Código PHP:
Ver original
  1. # connect to a DSN  with a user and password  
  2. if( odbc_connect("DNS_DB", "user", "pass") <= 0 ) {
  3.     // Error al conectar..
  4.     $aError = oci_error();
  5.     exit("Error al conectar con la BBDD: ") . $aError['message'];
  6. }