Re: whois query
| From: | Tom Ray | Date: | Thu, 12 Sep 2002 20:56:31 +0000 |
| Subject: | Re: whois query | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116205@lists.php.net to get a copy of this message | ||
Nope still comes up with everything in one big line. I'm running through different options right now..but I'm tired and my brain is starting to hurt :)
Adam Williams wrote:
try with <p> </p> and see if that works. Adam On Thu, 12 Sep 2002, Tom Ray wrote: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 ....