All goes right except if it file must be downloaded then it downladed with name of my php file. Can i say to browser another name?Code:<? $mime = mime_content_type($path); header('Content-type: ' . $mime); readfile($path); ?>
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Thread: Downloaded file name
|
Click Here to Expand Forum to Full Width |