I'm sending back a file as the content type but when the file name is
of test.class.php the file dialog (I'm using IE 6 Windows) saves it as
test[1].class.php. If I send test.php it saves it as test.php. I need
it to default save as "test.class.php ". Anyone know why this is and how
to get around it? Heres the exact code I'm using.
header('Content-Type: application/octetstream; name="test.clas s.php"');
header('Content-Type: application/octet-stream;
name="test.clas s.php"');
header('Content-Disposition: attachment; filename="test. class.php"');
of test.class.php the file dialog (I'm using IE 6 Windows) saves it as
test[1].class.php. If I send test.php it saves it as test.php. I need
it to default save as "test.class.php ". Anyone know why this is and how
to get around it? Heres the exact code I'm using.
header('Content-Type: application/octetstream; name="test.clas s.php"');
header('Content-Type: application/octet-stream;
name="test.clas s.php"');
header('Content-Disposition: attachment; filename="test. class.php"');
Comment