Hello all, After having reviewed this one, I saw few changes to do, I asked Pollita and he did them. He is sending a new patch and I vote +1 for it.
Regards. M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. "Pollita" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > The three attached patch files (to be applied in ext/standard/ ) introduce > a new function: getanyrr(). Where the existing getmxrr() will retrieve MX > records for a given host, getanyrr() will return all standard INET DNS > Resource Records. > > proto: > array getanyrr(string hostname [, string type[, array authns, array > addtl]]) > > "Type" is optional and can be any of "ANY", "A", "MX", "CNAME", "NS", > "TXT", "SOA", "HINFO", or "PTR". "ANY" is default. > > getanyrr returns an index array of associative arrays. Each associative > array contains 'host', 'type', 'class', 'ttl', and one or more additional > records depending on type. > > The third and fourth arguments are pass-by-ref arrays with the same > structure as the function return argument. "authns" contains a list of > authoritative name servers, while "addtl" contains additional relevant > records (typically A records for the name servers). > > Further documentation to be submitted to PHP-DOC when and if attached > patches are accepted and committed to CVS. > > basic_functions.c Patch against r1.543 > dns.c Patch against r1.44 > dns.h Patch against r1.11 > > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php