
28.02.2010, 02:28
|
|
Banned
Регистрация: 06.12.2009
Сообщений: 47
С нами:
8647077
Репутация:
74
|
|
PHP код:
<?
$file = array(1 => "st.tar", 2 => "man.tar", 3 => "sd.tar");
for ($i=1;$i<=3;$i++) {
system("wget google.com/tools/".file[$i]);
if (file_exists($file[$i])) {
$dir = str_replace(basename(__file__),"",__file);
echo "$file[$i] is downloaded to $dir";
flush()
}
}
?>
|
|
|