I am running Apache on Win2000.
This code doesn't work...why?
Exec("/bin/tar -cvf $name.tar $name"
;
Exec("/bin/gzip $name.tar"
;
Exec("rm $name"
;
Exec("rm $name.tar"
;
$name .= '.tar.gz';
echo "Download filename = <font color=#'ff0000'>$name</font>";
echo "<br><br>To begin downloading click <b><font color='#ff0000'><a href='$name'>HERE</a>";
}
I have tar.exe & gzip.exe in Bin/
Could there be a special version of tar & gzip for Win2000?
This code doesn't work...why?
Exec("/bin/tar -cvf $name.tar $name"
Exec("/bin/gzip $name.tar"
Exec("rm $name"
Exec("rm $name.tar"
$name .= '.tar.gz';
echo "Download filename = <font color=#'ff0000'>$name</font>";
echo "<br><br>To begin downloading click <b><font color='#ff0000'><a href='$name'>HERE</a>";
}
I have tar.exe & gzip.exe in Bin/
Could there be a special version of tar & gzip for Win2000?