mlists: tbl_student replaced

This commit is contained in:
Andreas Moik
2016-05-10 14:17:27 +02:00
parent 1185c68fb6
commit 068bcddb07
15 changed files with 131 additions and 124 deletions
+16 -16
View File
@@ -7,24 +7,24 @@
<BODY class="background_main">
<H3>Copy mLists</H3>
<?php
function mysystem($command)
function mysystem($command)
{
if (!($p=popen("($command)2>&1","r")))
{
if (!($p=popen("($command)2>&1","r")))
{
return 126;
}
return 126;
}
while (!feof($p))
{
$line=fgets($p,1000);
$out .= $line;
}
pclose($p);
return $out;
}
$var="../../../mlists/copymlists.sh";
echo mysystem($var);
while (!feof($p))
{
$line=fgets($p,1000);
$out .= $line;
}
pclose($p);
return $out;
}
$var="../../../mlists/copymlists.sh";
echo mysystem($var);
?>
Verarbeitung erledigt!
</BODY>
</HTML>
</HTML>