On Fri, 2009-05-22 at 14:41 -0500, Dee Ayy wrote: > That's what I had in my first post. What are the rest of your headers? > > This is what is now deployed and I consider this issue resolved, but > allowing spaces in the filename across IE, FF, and Safari browsers > would be the real solution. It's untested on other browsers: > > header('Content-Description: File Transfer'); > header('Content-Type: '.$type); > header('Content-Disposition: attachment; > filename='.basename(str_replace(' ', '_', $name))); > header('Content-Transfer-Encoding: binary'); > header('Expires: 0'); > header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); > header('Pragma: public'); > header('Content-Length: '.$size); > echo $data; Nope, you missed out the quotes on the particular heading I was drawing attention to hence my not printing the other headings. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php