Notice that SERVERNAME and DOMAIN name parameters are declared as Integers, not Strings, and are set to zero.
This is done to pass NULL values to the function instead of string values. In this case the local computer is used (SERVERNAME), and the function returns the name of the domain controller for the primary domain (DOMAIN).
Error 2453 means that your computer is not joined to domain. Use NetJoinDomain function or go through the network settings to join a domain.
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc.