note 102015 deleted from function.readfile by danbrown

From: Date: Sun, 23 Jan 2011 17:43:05 +0000
Subject: note 102015 deleted from function.readfile by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-176225@lists.php.net to get a copy of this message
Note Submitter: sdfor at yahoo ---- 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).'"');

« previous php.notes (#176225) next »