Ver Mensaje Individual
  #8 (permalink)  
Antiguo 14/07/2011, 10:05
Avatar de soy_nicanor
soy_nicanor
 
Fecha de Ingreso: mayo-2010
Mensajes: 374
Antigüedad: 13 años, 11 meses
Puntos: 3
Respuesta: como incluir oci8 a php para trabajar con oracol

Código PHP:
Ver original
  1. <?php
  2.  
  3. // Connects to the XE service (i.e. database) on the "localhost" machine
  4. $conn = oci_connect('hr', 'welcome', 'localhost/XE');
  5. if (!$conn) {
  6.     $e = oci_error();
  7.     trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR);
  8. }
  9.  
  10. ?>

Fatal error: Call to undefined function oci_connect() in E:\AppServ\www\Sistema de almacenes\2.php on line 4