On Wednesday 13 October 2004 07:17, Jordi Canals wrote:
> On Wed, 13 Oct 2004 00:22:40 +0200, Marek Kilimajer <[EMAIL PROTECTED]>
wrote:
> >>Why use fpassthru? I just use readfile, is there a difference?
> >
> > I bet Apex11 meant readfile() php function.
>
> Oh, I see. Sorry for the mistake. In t
On Wed, 13 Oct 2004 00:22:40 +0200, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
>>Why use fpassthru? I just use readfile, is there a difference?
>
> I bet Apex11 meant readfile() php function.
>
Oh, I see. Sorry for the mistake. In this case, I would like to know
also the diference ;)
Regards,
J
Jordi Canals wrote:
On Tue, 12 Oct 2004 09:17:30 -0700, ApexEleven <[EMAIL PROTECTED]> wrote:
Why use fpassthru? I just use readfile, is there a difference?
The main difference is with fpassthru you never show to the user the
exacr location of the file, so must use the script to download it.
In ex
On Tue, 12 Oct 2004 09:17:30 -0700, ApexEleven <[EMAIL PROTECTED]> wrote:
> Why use fpassthru? I just use readfile, is there a difference?
>
The main difference is with fpassthru you never show to the user the
exacr location of the file, so must use the script to download it.
In example, you can
Why use fpassthru? I just use readfile, is there a difference?
On Tue, 12 Oct 2004 11:11:54 -0500, Matt M. <[EMAIL PROTECTED]> wrote:
> > $filepath = "bla/bla/files/";
> > $filename = "file.zip";
> > $fullpath = "$filepath/$filename";
> >
> > header( ' Pragma: ');
> > header(
> $filepath = "bla/bla/files/";
> $filename = "file.zip";
> $fullpath = "$filepath/$filename";
>
> header( ' Pragma: ');
> header( ' Content-Type: application/force-download' );
> header( ' Content-Type: application/octet-stream ' );
> header( ' Content-length:'.(string
6 matches
Mail list logo