Re: [PHP] Difference between 2 Dates

2002-12-13 Thread Colin Bossen
I have a similar problem. I am trying to figure out which of two dates is greater. Both are in the -mm-dd format. Is there any easy function that allows this sort of comparison or am I missing something? On Friday, December 13, 2002, at 01:43 PM, vernon wrote: I found this code on the

[PHP] understanding headers

2002-12-11 Thread Colin Bossen
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 keeps downloading. Instead of downloading the file I want the php source file is getting downloaded. Here is the posting code: $output = a

Re: [PHP] Re: understanding headers

2002-12-11 Thread Colin Bossen
, 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 keeps downloading. Instead of downloading the file I want the php

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

[PHP] Re: understanding headers

2002-12-11 Thread Colin Bossen
exactly what you should be getting. fopen will read the text file as it appears on *disk* not what the output on your browser is. ?? -philip On Wed, 11 Dec 2002, Colin Bossen wrote: I add mention that the contents of the download.php file are the contents of the file I am trying to download