note 71754 added to function.fopen

From: Date: Thu, 14 Dec 2006 11:41:19 +0000
Subject: note 71754 added to function.fopen
Groups: php.notes 
Request: Send a blank email to php-notes+get-120604@lists.php.net to get a copy of this message
how get file over SSL :) Header("Expires: ".GMDate("D, d M Y H:i:00")." GMT"); header ("Cache-Control: private"); // HTTP/1.1 header('Content-Type: application/octet-stream'); header("Content-disposition: attachment; filename=\"$FileName\""); header("Content-description: $FileName"); header("Pragma: public"); flush(); //Pred hlavičky o type, mene a veľkosti súboru je nutné vložiť hlavičku header("Cache-control: private"); a nakoniec hlavičku header("Pragma: public");. Po tomto fungoval download súboru (aj jeho otvorenie priamo z downloadu) bez problémov. fopen $FileName ... ---- Server IP: 212.24.129.110 Probable Submitter: 212.158.155.13 (proxied: 10.84.1.39) ---- Manual Page -- http://www.php.net/manual/en/function.fopen.php Edit -- https://master.php.net/note/edit/71754 Del: integrated -- https://master.php.net/note/delete/71754/integrated Del: useless -- https://master.php.net/note/delete/71754/useless Del: bad code -- https://master.php.net/note/delete/71754/bad+code Del: spam -- https://master.php.net/note/delete/71754/spam Del: non-english -- https://master.php.net/note/delete/71754/non-english Del: in docs -- https://master.php.net/note/delete/71754/in+docs Del: other reasons-- https://master.php.net/note/delete/71754 Reject -- https://master.php.net/note/reject/71754 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#120604) next »