开发者

checkdnsrr error with php 2.9.2

开发者 https://www.devze.com 2022-12-14 17:36 出处:网络
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 usin

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消