Hi Vincent,
The GetTLD method was removed as it wasn't deemed necessary. As I
recall, it was only used once, and it made more sense to include that
routine in the part of the code that was using it. However, I don't
remember exactly.
Feel free to break it back out into a seperate function, and submit a
patch to the SourceForge patch tracker. If it makes the code more
usable, it may make it into a subsequent release.
Regards,
--
Ross
On พฤ., 2003-04-10 at 04:20, Vincent B. wrote:
> Hi!
>
> I was using the GetTLD method in the old version of the software, it is
> no longer present in the new one, why? The new code used to detemine the
> TLD in the Whois method can not be used for what I want to do with it
> (starting line 147 in 3.0.4 version of main.whois).
>
> Usage example :
>
> - I have a hostname like "ppp-123456.city.domain-name.com.br"
> - I want to know what domain name is related to it
> - GetTLD called with "ppp-123456.city.domain-name.com.br" returns me
> ".com.br"
> - I go one level higher, it gives me back the full domain name
> "domain-name.com.br"
> - I can do a normal phpwhois request with "domain-name.com.br" to get
> the whois info
>
> I am willing to contribute any of my modifications to the software, can
> someone put me in the developpers list?
>
> Thank you
>
> Vincent
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
> for complex code. Debugging C/C++ programs can leave you feeling lost and
> disoriented. TotalView can help you find your way. Available on major UNIX
> and Linux platforms. Try it free. www.etnus.com
> _______________________________________________
> Phpwhois-discuss mailing list
> Php...@li...
> https://lists.sourceforge.net/lists/listinfo/phpwhois-discuss
|