transparencia Posted January 6, 2009 Share Posted January 6, 2009 How could I add a string, for example (mysitename.com) to: header( "Content-Disposition: attachment; filename=" . $file_info['file_name'] . "\r\n" ); So that it is displayed on the name of the file downloaded. Link to comment https://forums.phpfreaks.com/topic/139619-solved-adding-a-string-to-this/ Share on other sites More sharing options...
premiso Posted January 6, 2009 Share Posted January 6, 2009 header( "Content-Disposition: attachment; filename=mysitename.com." . $file_info['file_name'] . "\r\n" ); That should do the trick... Link to comment https://forums.phpfreaks.com/topic/139619-solved-adding-a-string-to-this/#findComment-730468 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.