Package: php4-common
Version: 4:4.3.10-2
Severity: important
The PHP function checkdnsrr allways returns true. Use the follwing code as
example:
$domain = "splif.splaf";
if ( checkdnsrr($domain, "MX") ) {
echo "$domain ok";
} else {
echo "$domain bad";
}
According to http://php.net/checkdnsrr it should return false on non-
resolvable domains (or other errors). The function works on other OS'es
- tested on FreeBSD.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.22-ctx17a-20030825-loke
Locale: LANG=en_GB.iso885915, LC_CTYPE=en_GB.iso885915 (charmap=ISO-8859-15)
Versions of packages php4-common depends on:
ii sed 4.1.2-8 The GNU sed stream editor
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]