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. Quote 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... Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.