What is the full readout of the error message (ORA # and text of message)?
Also, can you do a test connection within Net8 to your database? One thing
to try, put your connection information in all lowercase (sid, username,
password). Another, what does you ocilogon call look like (post a cleaned
version, without sensitive data)?
With this info, we should be able to track things down further.
Here are my ORA messages together with my php script. I can connect to my Oracle 8.1.6 database with net8 (using SQL*Plus).
ORA Messages
Warning: _oci_open_server: ORA-12638: Credential retrieval failed in C:\Inetpub\Homepage\oci.php on line 10
Warning: Supplied argument is not a valid OCI8-Connection resource in C:\Inetpub\Homepage\oci.php on line 11
Warning: Supplied argument is not a valid OCI8-Statement resource in C:\Inetpub\Homepage\oci.php on line 12
Warning: Supplied argument is not a valid OCI8-Statement resource in C:\Inetpub\Homepage\oci.php on line 13
PHP script
<head>
<title>Homepage</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#ffffff" marginwidth="10" marginheight="10">
<?php
$c1 = ociplogon("scott", "tiger", "alias");
$stmt = ociparse($c1, "select * from links order by link");
ociexecute($stmt);
while(ocifetch($stmt))
printf("<P>".ociresult($stmt, "link")."</P>\n");
?>
</body>