$data = exec("host $lookup");
printf("<pre>%s</pre>", $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 General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to