#38658 [Opn->Bgs]: checkdnsrr does not properly work for me.
| From: | tony2001@php.net | Date: | Wed, 30 Aug 2006 14:43:02 +0000 |
| Subject: | #38658 [Opn->Bgs]: checkdnsrr does not properly work for me. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-101540@lists.php.net to get a copy of this message | ||
ID: 38658
Updated by: tony2001@php.net
Reported By: dbmdude at the-joys dot com
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Linux
PHP Version: 4.4.4
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2006-08-30 14:27:39] dbmdude at the-joys dot com
Description:
------------
You may see more script examples and this script in action @
http://roadrage.the-joys.com/test.php. The
example below is my "Script
Case 2".
I do not compile PHP nor do I control what version is loaded NOR can I
make server changes, but I can add php.ini if you need me to.
I can send you a list of settings as I have access to that, but did not
include it as it was a huge list.
YES THIS IS VALID, but I could not access bug #7058 (checkdnsrr bug) so
I added it here.
Please Help
Eric Joy
Reproduce code:
---------------
<?php
$url = "http://www.wetrwert32465234253erwqerqwer.com/";
$component = parse_url ($url);
if (checkdnsrr($component['host'],"MX") == FALSE) {
echo "<b>RESULT: No MX record exists for
<i>".$component[host]."</i>. Did you enter the URL correctly?</b>";
} else {
echo "<b>RESULT: MX record found for
<i>".$component[host]."</i></b>";
}
?>
Expected result:
----------------
RESULT: No MX record exists for
http://www.wetrwert32465234253erwqerqwer.com/.
Did you enter the URL
correctly?
Actual result:
--------------
RESULT: MX record found for
http://www.wetrwert32465234253erwqerqwer.com/.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38658&edit=1