php-developer-list | 2002112
Date: 11/16/02
- Next message: Pollita: "[PHP-DEV] [PATH] update to earlier proposed patch for getanyrr() function addition"
- Previous message: Michael Mauch: "[PHP-DEV] ext/standard/tests/math/log.phpt coredump on Tru64"
- In reply to: Pollita: "[PHP-DEV] [PATCH]s New Function getanyrr() proposal"
- Next in thread: Derick Rethans: "Re: [PHP-DEV] Re: [PATCH]s New Function getanyrr() proposal"
- Reply: Derick Rethans: "Re: [PHP-DEV] Re: [PATCH]s New Function getanyrr() proposal"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
nicos <email protected>
www.WorldAKT.com Hébergement de sites internets.
"Pollita" <php <email protected>> a écrit dans le message de news:
1025.206.15.1.159.1037484637.squirrel <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
- Next message: Pollita: "[PHP-DEV] [PATH] update to earlier proposed patch for getanyrr() function addition"
- Previous message: Michael Mauch: "[PHP-DEV] ext/standard/tests/math/log.phpt coredump on Tru64"
- In reply to: Pollita: "[PHP-DEV] [PATCH]s New Function getanyrr() proposal"
- Next in thread: Derick Rethans: "Re: [PHP-DEV] Re: [PATCH]s New Function getanyrr() proposal"
- Reply: Derick Rethans: "Re: [PHP-DEV] Re: [PATCH]s New Function getanyrr() proposal"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

