Re: file upload
| From: | anirudh dutt | Date: | Thu, 20 Jan 2005 13:01:17 +0000 |
| Subject: | Re: file upload | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-206829@lists.php.net to get a copy of this message | ||
On Thu, 20 Jan 2005 13:30:35 +0100, M. Sokolewicz <tularis@php.net> wrote:
> what you're doing is server => server
> What the akshay wants is server => client
> The only not yet posted other options are client => client (which is
> essentially impossible with PHP, unless you use the server=>server
> setup) and client => server (which is called uploading)
right. i assumed he wanted to do something like get a file from
another server and then send/display it to the client (news picker for
a feed or comic strip ripper).
if the file is on the same server, then a simple download would do ;-)
or if the script's gonna generate data dynamically, then it would have
to send the Content-Disposition, Pragma, etc. headers.
@akshay: the headers to be sent differ for normal browsers and IE.
anirudh