jggrossm Posted October 3, 2006 Share Posted October 3, 2006 Hi. I'm a nube at this. I've got a PHP website that makes calls to my DB2 database. There's something werid going on. How can I "ping" the database with PHP just to make sure the connection between the two isn't the issue. I think it might be. Quote Link to comment https://forums.phpfreaks.com/topic/22887-php-odbc-ping/ Share on other sites More sharing options...
Daniel0 Posted October 3, 2006 Share Posted October 3, 2006 Apparently ODBC do not contain a ping function like MySQL does, but try running the ping command using [url=http://php.net/system]system()[/url]. Quote Link to comment https://forums.phpfreaks.com/topic/22887-php-odbc-ping/#findComment-103241 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.