saradrungta Posted January 1, 2009 Share Posted January 1, 2009 can some one help the below code doesn't download the fine b/t it download cade file only in which i save this code... pls help <?php header("content-type: Application"); header("content-Disposition: Attachment filename= \"uploded_files/sarad.jpg\""); ?> <html> <body> <form action=download.php method=post> <input type=submit value="Click here to Download"> </form> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/139094-solved-problem-in-downloading-pls-help/ Share on other sites More sharing options...
Daniel0 Posted January 1, 2009 Share Posted January 1, 2009 You need to actually read and send the file to the client. See this post: http://www.phpfreaks.com/forums/index.php/topic,95433.0.html Quote Link to comment https://forums.phpfreaks.com/topic/139094-solved-problem-in-downloading-pls-help/#findComment-727483 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.