Jump to content


Photo

PHP ODBC "ping"?


  • Please log in to reply
1 reply to this topic

#1 jggrossm

jggrossm
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 03 October 2006 - 04:27 PM

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.

#2 Daniel0

Daniel0
  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 03 October 2006 - 06:15 PM

Apparently ODBC do not contain a ping function like MySQL does, but try running the ping command using system().




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users