Jump to content


Photo

Headers


  • Please log in to reply
5 replies to this topic

#1 mattd8752

mattd8752
  • Members
  • PipPipPip
  • Advanced Member
  • 251 posts

Posted 01 March 2006 - 05:52 PM

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?

#2 mattd8752

mattd8752
  • Members
  • PipPipPip
  • Advanced Member
  • 251 posts

Posted 02 March 2006 - 12:38 AM

Can someone please help?

#3 php_b34st

php_b34st
  • Members
  • PipPipPip
  • Advanced Member
  • 168 posts

Posted 02 March 2006 - 12:53 AM

do you mean something like:

header("Location: filename.gz");


#4 mattd8752

mattd8752
  • Members
  • PipPipPip
  • Advanced Member
  • 251 posts

Posted 02 March 2006 - 02:00 PM

no, that won't work. I am running a script on the main url (http://mattdsworld.theicy.net) and accessing ../logs/march.gz

#5 mattd8752

mattd8752
  • Members
  • PipPipPip
  • Advanced Member
  • 251 posts

Posted 03 March 2006 - 01:59 PM

CAN ANYONE HELP???

#6 kenrbnsn

kenrbnsn
  • Staff Alumni
  • Advanced Member
  • 8,235 posts
  • LocationHillsborough, NJ, USA

Posted 03 March 2006 - 02:12 PM

It's obvious that you haven't explained what you are trying to do very well. Please try to explain it better.

Ken




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users