get variable from text
| From: | hakan karar | Date: | Sat, 21 Oct 2000 09:52:26 +0000 |
| Subject: | get variable from text | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-21540@lists.php.net to get a copy of this message | ||
hi I am trying to take some variables from whois for example mail adress or the or the name etc..
<?
$abc="frekans.com";
print ("<pre>");
$test=system ( "whois $abc");
print " $test";
print ("</pre>");
?>
how can I get the some information from $test is there any way to get information like from
"Registrar : xxxxx.xxx " I need the part of xxxxx as a variable thanks
hakan karar