I appreciate the help with the Oracle login functions. Are you doing any php error_handling <any of the dozen or so offered> ?
No problem on the assistance! I'm glad to help...
I do as much error handling as I can. I am intolerant of applications where the developer doesn't handle errors. What type of information, specifically, are you seeking? With Oracle, there's a hierarchy (so-to-speak) of determining errors. By this, I mean:
1) If you haven't obtained a database handle (DBH), call [MAN]OCIError[/MAN] without parameters. This would explain the problem with the connection.
2) If you have a DBH, but don't yet have a statement handle (STH), call [MAN]OCIError[/MAN] with the DBH. This, for example, would describe a problem with your query.
3) If you have a STH, call [MAN]OCIError[/MAN] with it. This would describe constraint violations, etc.
Additionally, I always use error_reporting(0) before I do anything with the database. I check each DBH, STH, and I assign the return value of [MAN]OCIExecute[/MAN] to a variable.
Does this answer your question?
-- Gary