Re[2]: [PHP] File download doesn't work with SSL
| From: | Tom Rogers | Date: | Tue, 08 Oct 2002 04:59:10 +0000 |
| Subject: | Re[2]: [PHP] File download doesn't work with SSL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119211@lists.php.net to get a copy of this message | ||
Hi,
Tuesday, October 8, 2002, 1:32:16 PM, you wrote:
JWH> Thanks for the help guys. Like I said, the download works fine as long
JWH> as it's not over SSL. I will try to disable it and see if I can look at
JWH> the headers sent to see if a no-cache header is being sent, even though
JWH> I haven't specified it. Regardless, even if it is, I have no way of
JWH> stopping it, since I'm not controlling the sending of it, do I? If it is
JWH> the session doing it, maybe I can send a no-store header before I call
JWH> session_start?
JWH> Hopefully upgrading to SP2 for IE6 will fix this. It's a lot of work to
JWH> update all the computers, though, but I don't have to do the grunt work,
JWH> at least. :)
Maybe this will help
<?
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, "https://www.melbourneit.com.au/maintenance/");
curl_setopt ($ch, CURLOPT_VERBOSE, 1);
curl_setopt ($ch, CURLOPT_HEADER, 1);
echo '<pre>';
if(!curl_exec ($ch)){
echo 'Error: '.curl_error($ch).'<br>';
}
echo '</pre>';
curl_close ($ch);
?>
--
regards,
Tom