Pass the file through a PHP script, using header() to set the mime-type,
then passing the file through.
Pretty sure there's examples (and documentation of the problems with IE)in
the manual:
php.net/header
Justin French
on 17/08/02 6:36 AM, David Buerer ([EMAIL PROTECTED]) wrote:
> I have a
David Buerer wrote:
>
> Thankyou Robert, THat is a great and easy way to do it.
>
> What if I need to initiate a download to the user?
If you set the mime type properly the browser will
automatically make it a download versus displaying it.
Cheers,
Rob.
--
.-.
| Robert Cumming
Thankyou Robert, THat is a great and easy way to do it.
What if I need to initiate a download to the user?
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 2:06 PM
To: David Buerer
Cc: '[EMAIL PROTECTED]'
Subject: Re: [PHP] se
Hi there !!!
I had the same problem once ...
This will save you !!
http://www.zend.com/zend/trick/tricks-august-2001.php
I have a bunch of files which need to be kept secure. I need to allow a
user access to them them based on a criteria which I can
programmatically determine.
My question, i
Robert Cummings wrote:
>
> David Buerer wrote:
> >
> > I have a bunch of files which need to be kept secure. I need to allow a user
> > access to them them based on a criteria which I can programmatically
> > determine.
> >
> > My question, is how can I allow the user to download or view only one
David Buerer wrote:
>
> I have a bunch of files which need to be kept secure. I need to allow a user
> access to them them based on a criteria which I can programmatically
> determine.
>
> My question, is how can I allow the user to download or view only one file
> on my computer without allowth
I have a bunch of files which need to be kept secure. I need to allow a user
access to them them based on a criteria which I can programmatically
determine.
My question, is how can I allow the user to download or view only one file
on my computer without allowthem to just enter the URL into their
7 matches
Mail list logo