Hello Friends, i am a new php developer i want to download picture in my website for example this is url : http://www.example.com/pictures/sample_pic.jpg when i clicked on this url then pic is open but i dont want to open any pic i want to download pics so please help me and advise me that how is it possible ? i am waiting for your reply Thanks
I would write the code from scratch, although I probably couldn't do it better than this example a dZone: http://php.dzone.com/news/php-force-download-keep-whats-
You would like to read these articles to learn how to force a file to be downloaded rather than played or displayed: boutell.com/newfaq/creating/forcedownload.html elouai.com/force-download.php Sorry about my inability to post live links yet
No problem From my personal point of view DP was created with an idea in mind: having members helping each other and sharing expertise