mattd8752 Posted March 1, 2006 Share Posted March 1, 2006 What would I put as the header if I want to put the file as a download? I am using the include ""; on a .gz file. I don't want to forward the user. I want to use headers, what would I use? Can anyone help? Quote Link to comment https://forums.phpfreaks.com/topic/3846-headers/ Share on other sites More sharing options...
mattd8752 Posted March 2, 2006 Author Share Posted March 2, 2006 Can someone please help? Quote Link to comment https://forums.phpfreaks.com/topic/3846-headers/#findComment-13441 Share on other sites More sharing options...
php_b34st Posted March 2, 2006 Share Posted March 2, 2006 do you mean something like:[code]header("Location: filename.gz");[/code] Quote Link to comment https://forums.phpfreaks.com/topic/3846-headers/#findComment-13442 Share on other sites More sharing options...
mattd8752 Posted March 2, 2006 Author Share Posted March 2, 2006 no, that won't work. I am running a script on the main url (http://mattdsworld.theicy.net) and accessing ../logs/march.gz Quote Link to comment https://forums.phpfreaks.com/topic/3846-headers/#findComment-13537 Share on other sites More sharing options...
mattd8752 Posted March 3, 2006 Author Share Posted March 3, 2006 CAN ANYONE HELP??? Quote Link to comment https://forums.phpfreaks.com/topic/3846-headers/#findComment-13898 Share on other sites More sharing options...
kenrbnsn Posted March 3, 2006 Share Posted March 3, 2006 It's obvious that you haven't explained what you are trying to do very well. Please try to explain it better.Ken Quote Link to comment https://forums.phpfreaks.com/topic/3846-headers/#findComment-13905 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.