Yes, but how do you format the information that comes back out of the 
whois? I'm doing this:

<?

$whois = system("whois [EMAIL PROTECTED]");

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 ....
>>
>>
>>
>>
>>
>>
>>    
>>
>
>
>  
>

Reply via email to