phpbar.de logo

Mailinglisten-Archive

[php] OCILogon

[php] OCILogon

Gab nagymail at freemail.hu
Son Feb 22 13:28:46 CET 2004


hello

was ist falsch ?

<?
$db="(DESCRIPTION =
   (ADDRESS = (PROTOCOL = TCP)(HOST =192.168.253.156)(PORT = 1521))
   (CONNECT_DATA = (SERVICE_NAME =database_name))
   )";
$conn=OCILogon("login","password",$db);
$error=OCIError();
if($error) print_r($error);
--
Warning: _oci_open_server: ORA-12541: TNS:no listener in /var/www/ora.php on
line 6
Array ( [code] => 12541 [message] => ORA-12541: TNS:no listener )
--

Gabor



php::bar PHP Wiki   -   Listenarchive