note 68932 added to function.readfile

From: Date: Wed, 16 Aug 2006 13:40:24 +0000
Subject: note 68932 added to function.readfile
Groups: php.notes 
Request: Send a blank email to php-notes+get-115973@lists.php.net to get a copy of this message
For correct download force $url="pepe.zip"; header('Content-Description: File Transfer'); header('Content-Type: application/force-download'); header("Content-Disposition: attachment; filename=\"".basename($url)."\";"); header('Content-Length: ' . filesize($url)); ---- Server IP: 66.163.161.117 Probable Submitter: 206.248.67.2 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.readfile.php Edit -- https://master.php.net/note/edit/68932 Del: integrated -- https://master.php.net/note/delete/68932/integrated Del: useless -- https://master.php.net/note/delete/68932/useless Del: bad code -- https://master.php.net/note/delete/68932/bad+code Del: spam -- https://master.php.net/note/delete/68932/spam Del: non-english -- https://master.php.net/note/delete/68932/non-english Del: in docs -- https://master.php.net/note/delete/68932/in+docs Del: other reasons-- https://master.php.net/note/delete/68932 Reject -- https://master.php.net/note/reject/68932 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#115973) next »