source:
companies/serpro/doc-expressolivre/arqs-conf-rhel5/makedc.php
@
903
Revision 903, 117 bytes checked in by niltonneto, 15 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[903] | 1 | #!/usr/bin/php -q |
2 | <?php | |
3 | global $argv; | |
4 | $domain = $argv[1]; | |
5 | ||
6 | $array = split ('\.', $domain); | |
7 | ||
8 | echo $array[0]; | |
9 | ?> |
Note: See TracBrowser
for help on using the repository browser.