Re: Question about function dns_check_record
| From: | Ben Ramsey | Date: | Mon, 01 Nov 2004 15:33:53 +0000 |
| Subject: | Re: Question about function dns_check_record | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200840@lists.php.net to get a copy of this message | ||
First of all, don't ask two questions in one message. Send two separate messages. You're more likely to get better answers to both questions.
Bao Vu wrote:
I have a problem regard to function - dns_check_record - dns_get_mx Can you tell me why the PHP said the "Call to undefined function"?Did you read the manual? <http://us2.php.net/manual/en/function.checkdnsrr.php> dns_check_record() is an alias for checkdnsrr(), which isn't implemented on Windows. Same thing for dns_get_mx()/getmxrr(). Check your platform. If you're on Windows, that could be the problem.
and also class Dog { function __construct() { } } the construct or descontruction are not working?Are you using PHP 5? If you're still on PHP 4, then that's the problem. -- Regards, Ben Ramsey http://benramsey.com --------------------------------------------------- Atlanta PHP - http://www.atlphp.org/ The Southeast's premier PHP community. ---------------------------------------------------