Re: whois query

From: Date: Thu, 12 Sep 2002 21:05:38 +0000
Subject: Re: whois query
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-116206@lists.php.net to get a copy of this message
try using nl2br() on it before you print it. Adam On Thu, 12 Sep 2002, Tom Ray wrote: > 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 .... > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>> > >> > >> > > > > > > > > > >

« previous php.general (#116206) next »