note 103200 added to function.readfile

From: Date: Thu, 31 Mar 2011 11:59:11 +0000
Subject: note 103200 added to function.readfile
Groups: php.notes 
Request: Send a blank email to php-notes+get-178372@lists.php.net to get a copy of this message
Hello, Here's a simple trick for browsers (FF, IE) address spaces in filenames for Content-Disposition: eg: header ("Content-Disposition:attachment; filename=\"$filename\""); The \ "before and after the file name makes the difference. ---- Server IP: 192.41.42.26 Probable Submitter: 84.102.108.71 ---- Manual Page -- http://www.php.net/manual/en/function.readfile.php Edit -- https://master.php.net/note/edit/103200 Del: integrated -- https://master.php.net/note/delete/103200/integrated Del: useless -- https://master.php.net/note/delete/103200/useless Del: bad code -- https://master.php.net/note/delete/103200/bad+code Del: spam -- https://master.php.net/note/delete/103200/spam Del: non-english -- https://master.php.net/note/delete/103200/non-english Del: in docs -- https://master.php.net/note/delete/103200/in+docs Del: other reasons-- https://master.php.net/note/delete/103200 Reject -- https://master.php.net/note/reject/103200 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#178372) next »