[PHP] Re: understanding headers

2002-12-11 Thread Colin Bossen
Well, except for the fact that the file name is wrong. I sort of figured it out though. Anyways, I appreciate the help and hope this wasn't too much useless chatter from a relative Php newbie. Colin On Wednesday, December 11, 2002, at 06:36 PM, Philip Hallstrom wrote: Then you're getting exac

Re: [PHP] Re: understanding headers

2002-12-11 Thread Colin Bossen
I add mention that the contents of the download.php file are the contents of the file I am trying to download... On Wednesday, December 11, 2002, at 06:31 PM, Colin Bossen wrote: Opps... $data is set on the download page. It is set like this: $path .= "export/".$name; $fp = fopen($path, "rb

Re: [PHP] Re: understanding headers

2002-12-11 Thread Colin Bossen
Opps... $data is set on the download page. It is set like this: $path .= "export/".$name; $fp = fopen($path, "rb"); $data = fread($fp, $size); fclose($fp); Colin On Wednesday, December 11, 2002, at 06:21 PM, Philip Hallstrom wrote: Where/How do you set $data? Everything else looks fine,

[PHP] Re: understanding headers

2002-12-11 Thread Philip Hallstrom
Where/How do you set $data? Everything else looks fine, but without knowing that we can't help much. On Wed, 11 Dec 2002, Colin Bossen wrote: > Hello: > > I am trying to use the header function to enable users to download > files. I am able to get files to download. Unfortunately, the wrong file