Page 1 of 1

Oracle -- Trapping message in OCI_Success_with_info

Posted: Wed May 30, 2007 4:05 pm
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?