I want to make some people download files the server tar's on demand.

But i don't know really how to send the files back to the browser.

I used the following command for taring the file:

$command = 'tar -c '.$arrResult['name'].'.tgz ../images/'.$arrResult['image'];

This command starts taring, I think, but fills the browser window with the pure code 
of the tar file I belive. How can I make it behave different. When I search for the 
tar on the webserver I can't find it anywhere.

Please Help


Reply via email to