i am trying to use checkdnsrr() function with php 2.9.2, but it shows an error as "Call to undefined function checkdnsrr()".. is it because this function is not compatible with the version i am using? Can 开发者_如何学运维i have an alias of this function so that it works with my version?
The following indicates that the checkdnserr function is only compatible with PHP 4 or 5.
This is taken straight from the manual
checkdnsrr
(PHP 4, PHP 5)
checkdnsrr — Check DNS records corresponding to a given Internet host name or IP address
checkdnsrr work in version 4 and 5. How to even find an manual for Php version 2.9.2 I am not sure!
The function existed in PHP 3, but I cannot confirm whether it existed in PHP 2 or not. Anyhow, PHP 2 and 3 are no longer supported versions. You should upgrade to PHP 4 or later.
精彩评论