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.
---------------------------------------------------

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to