note 102015 added to function.readfile

From: Date: Sun, 23 Jan 2011 01:23:46 +0000
Subject: note 102015 added to function.readfile
Groups: php.notes 
Request: Send a blank email to php-notes+get-176019@lists.php.net to get a copy of this message
example # 1 needs quotes around the file name is case the there are spaces within the file name. Otherwise the download will not work properly. header('Content-Disposition: attachment; filename="'.basename($file).'"'); ---- Server IP: 69.147.83.197 Probable Submitter: 71.183.37.78 ---- Manual Page -- http://www.php.net/manual/en/function.readfile.php Edit -- https://master.php.net/note/edit/102015 Del: integrated -- https://master.php.net/note/delete/102015/integrated Del: useless -- https://master.php.net/note/delete/102015/useless Del: bad code -- https://master.php.net/note/delete/102015/bad+code Del: spam -- https://master.php.net/note/delete/102015/spam Del: non-english -- https://master.php.net/note/delete/102015/non-english Del: in docs -- https://master.php.net/note/delete/102015/in+docs Del: other reasons-- https://master.php.net/note/delete/102015 Reject -- https://master.php.net/note/reject/102015 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#176019) next »