ID: 26622 Updated by: [EMAIL PROTECTED] Reported By: dozoyousan at mail dot goo dot ne dot jp -Status: Open +Status: Bogus -Bug Type: Unknown/Other Function +Bug Type: *General Issues Operating System: windows2000 PHP Version: 4.3.4 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Try reading the various user notes in the header and session pages in the manual. This is not PHP bug.. Previous Comments: ------------------------------------------------------------------------ [2003-12-14 20:37:34] dozoyousan at mail dot goo dot ne dot jp Description: ------------ When I used session , don't download in Web browser. Reproduce code: --------------- <? // session_start(); // <= no plobrem session_start(); // <= don't download $file_name = "Download.csv"; $file_ptr = fopen($file_name, "w"); for( $i = 0; $i < 9; $i++ ) fwrite( $file_ptr, "$i, ".($i+1).", ".($i+2)."\n" ); fclose( $file_ptr ); header("Content-Disposition: attachment; filename=$file_name"); header("Content-type: application/octet-stream"); readfile($file_name); ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26622&edit=1
