Archive Contents
Tagged with: archive, command, content, Linux, tar
Thursday, July 31st, 2008 11:05 PM
Show contents of an archive
tar -tf archive.tar
Show contents of an archive
tar -tf archive.tar
Use this code to force a download of any type of content with PHP
header("Content-type:application/octect-stream");
header('Content-Disposition: attachment; filename=filename_' . date('Y-m-d') . '.sql');
print "Hello World";