note 68977 added to function.readfile

From: Date: Thu, 17 Aug 2006 19:39:14 +0000
Subject: note 68977 added to function.readfile
Groups: php.notes 
Request: Send a blank email to php-notes+get-116021@lists.php.net to get a copy of this message
Sorry is correcto that's.. 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)); @readfile($url) OR die(); ---- 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/68977 Del: integrated -- https://master.php.net/note/delete/68977/integrated Del: useless -- https://master.php.net/note/delete/68977/useless Del: bad code -- https://master.php.net/note/delete/68977/bad+code Del: spam -- https://master.php.net/note/delete/68977/spam Del: non-english -- https://master.php.net/note/delete/68977/non-english Del: in docs -- https://master.php.net/note/delete/68977/in+docs Del: other reasons-- https://master.php.net/note/delete/68977 Reject -- https://master.php.net/note/reject/68977 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#116021) next »