Oracle -- Trapping message in OCI_Success_with_info

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
John Bono
Forum Newbie
Posts: 1
Joined: Wed May 30, 2007 3:55 pm

Oracle -- Trapping message in OCI_Success_with_info

Post by John Bono »

I'm a bit of a newbie with PHP, and I'm trying to trap when a userid/password is about to expire in Oracle. I've seen online that older versions of PHP will cause an error when a password is about to expire(which was a PHP bug), but that isn't the issue I'm dealing with.

I'm looking for a way via PHP to trap the OCI_success_with_info message that occurs when a PW is about to expire, and send an email alerting the support team that the DB password is about to expire.

What attributes should I look for to trap that message?
Post Reply