Re: Remote file download and https
| From: | Justin French | Date: | Wed, 04 Sep 2002 12:29:59 +0000 |
| Subject: | Re: Remote file download and https | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115161@lists.php.net to get a copy of this message | ||
There is a download script (commonly used for restricting downloads to
members, etc) on Zend.com... if you can't find it (in tutorials or
articles), let me know.
It should give you a good understanding of the principals, and a decent head
start on the code, as it did for me.
I don't think there will be any problem with SSL (https://) as long as your
server is set-up for it...
Justin
on 04/09/02 9:17 PM, Radu Manole (radu@u-zine.com) wrote:
> Hi Guys,
>
> I'm trying to create a "transparent download" using a script (the script
> would run from my local machine) that will request a file from a remote
> server, that looks like this (https request):
>
> https://www.httpsserver.net/Pages/Download.asp?usr=test&pass=test&from=05/01
> /02&to=09/03/02
> This link will trigger an excel file download.
>
> I tryed with fsockopen() and fopen() but no luck.
> Also the Header ("Location: $myurl") starts the download but redirect the
> user to httpsserver.
> Any ideas and hints to start this transparent download would be much
> appreciated. Maybe to use a popup window?
>
> Many Thanks,
> Radu
>
>