Показать сообщение отдельно

  #3  
Старый 19.04.2010, 17:29
HackUA
Познающий
Регистрация: 10.12.2009
Сообщений: 41
Провел на форуме:
1048786

Репутация: 5
По умолчанию

Код:
<?
echo system("whois ".$_POST['urls']);
?>
Выполняю этот код и получаеться:
Цитата:
[Querying whois.ripn.net] [whois.ripn.net] % By submitting a query to RIPN's Whois Service % you agree to abide by the following terms of use: % http://www.ripn.net/about/servpol.html#3.2 (in Russian) % http://www.ripn.net/about/en/servpol.html#3.2 (in English). domain: ANTICHAT.RU nserver: ns3.nic.ru. nserver: ns4.nic.ru. nserver: ns8.nic.ru. state: REGISTERED, DELEGATED, VERIFIED person: Private Person phone: +7 095 3212111 fax-no: +7 095 3212111 e-mail: egorich2004@mail.ru registrar: RUCENTER-REG-RIPN created: 2001.08.31 paid-till: 2010.09.01 source: TCI Last updated on 2010.04.19 17:23:42 MSK/MSD
А нужно :
Цитата:
% By submitting a query to RIPN's Whois Service
% you agree to abide by the following terms of use:
% http://www.ripn.net/about/servpol.html#3.2 (in Russian)
% http://www.ripn.net/about/en/servpol.html#3.2 (in English).

domain: ANTICHAT.RU
nserver: ns3.nic.ru.
nserver: ns4.nic.ru.
nserver: ns8.nic.ru.
state: REGISTERED, DELEGATED, VERIFIED
person: Private Person
phone: +7 095 3212111
fax-no: +7 095 3212111
e-mail: egorich2004@mail.ru
registrar: RUCENTER-REG-RIPN
created: 2001.08.31
paid-till: 2010.09.01
source: TCI

Last updated on 2010.04.19 17:23:42 MSK/MSD
Каким образом можна зделать что бы выводилось как во втором случае ? CentOS, php 5.2
 
Ответить с цитированием