: Tyler Longren; php-general
Subject: Re: [PHP] formatting "host" output
On Sat, 21 Jul 2001 06:32, Tyler Longren wrote:
> $data = exec("host $lookup");
> printf("%s", $data);
>
> How can I format the output of that properly?
> Sometimes, it's all
On Sat, 21 Jul 2001 06:32, Tyler Longren wrote:
> $data = exec("host $lookup");
> printf("%s", $data);
>
> How can I format the output of that properly?
> Sometimes, it's all on one line, and it's fine.
> Other times, there's more than one line...like if there was an alias.
>
> Any way to format i
$data = exec("host $lookup");
printf("%s", $data);
How can I format the output of that properly?
Sometimes, it's all on one line, and it's fine.
Other times, there's more than one line...like if there was an alias.
Any way to format it like it is on the command line?
Thanks,
Tyler
--
PHP Ge
3 matches
Mail list logo