List'" <[EMAIL PROTECTED]>
Sent: Friday, January 10, 2003 8:40 PM
Subject: RE: [PHP] Make fil downloadable
: Correct!... yes the source not interpreted raw!!
:
: Isn't that what you wanted??
:
:
: Timothy Hitchens (HiTCHO)
: Open Platform Consulting
: e-mail: [EMAIL PROTECTE
;[EMAIL PROTECTED]>
Cc: "'PHP List'" <[EMAIL PROTECTED]>
Sent: Friday, January 10, 2003 8:40 PM
Subject: RE: [PHP] Make fil downloadable
: Correct!... yes the source not interpreted raw!!
:
: Isn't that what you wanted??
:
:
: Timothy Hitchens (HiTCHO)
: Op
Timothy Hitchens (HiTCHO)
> Cc: PHP List
> Subject: Re: [PHP] Make fil downloadable
>
>
> Would this print the contents or the actual file for download?
>
>
> - Original Message -
> From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]>
>
: > From: Stephen [mailto:[EMAIL PROTECTED]]
: > Sent: Saturday, 11 January 2003 10:29 AM
: > To: Timothy Hitchens (HiTCHO)
: > Cc: PHP List
: > Subject: Re: [PHP] Make fil downloadable
: >
: >
: > It's a dynamically created file the user downloads and uses
: > late
HiTCHO)
> Cc: PHP List
> Subject: Re: [PHP] Make fil downloadable
>
>
> It's a dynamically created file the user downloads and uses
> later as a PHP script. If I put header() in it, that would
> make it downloadable again when the user uses it on his/her
> serve
OTECTED]>
To: "'Stephen'" <[EMAIL PROTECTED]>; "'PHP List'"
<[EMAIL PROTECTED]>
Sent: Friday, January 10, 2003 7:24 PM
Subject: RE: [PHP] Make fil downloadable
: You need to send headers to tell the browser how to handle it see:
: header();
You need to send headers to tell the browser how to handle it see:
header(); or.. if it is a php file and you want the visitor to
see/download the source you would be better off giving it another
extension eg .phps or .txt etc or have a handler file that did a
readfile after sending headers.
Timo
7 matches
Mail list logo