Re: whois query

From: Date: Thu, 12 Sep 2002 20:50:36 +0000
Subject: Re: whois query
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-116202@lists.php.net to get a copy of this message
Yes, but how do you format the information that comes back out of the whois? I'm doing this: <? $whois = system("whois domain.com@whois.networksolutions.com"); print "<pre>$whois</pre>"; ?> But all the information is shown as one big line, no breaks or anything. How would I do this so it showed properly formatted output? Adam Williams wrote:
Have a php page that runs exec() or system() and does a whois query on the domain you want and then have it output the text to a page. Very simple to do, less then 2 minutes of coding. Adam On Thu, 12 Sep 2002, yasin inat wrote:
please anyone can help me about querying a domain .... like whois queries ? if someone has got a script , it's acceptable ....


« previous php.general (#116202) next »