Jump to content

Archived

This topic is now archived and is closed to further replies.

jggrossm

PHP ODBC "ping"?

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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].

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.