i have a short php script that creates a gz compressed file, but...
when i try to download it, internet explorer doesn't prompt me for a
download location, and then save it at that download location...
instead, it just opens it as it would any old text document... this
is not what i want it to do... i want to be able to download it, not
view it. any ideas on how to do this?
here's the code:
<?
system("ls -l | gzip > test.gz");
print "download <a href=test.gz>here</a>";
?>