shlomikalfa Posted November 6, 2008 Share Posted November 6, 2008 hi there, I was wandering if there is a possibility to send a file from the server to the client [client is downloading] without having to create the file on the local server.... using MIME headers or any other way.... I.E. 1. Read from DB: "THIS IS WHAT I WANT TO SEND IN A FILE NAMED TXT.TXT" 2. Creating a link that user clicks on and a file download starts. [Without saving the content read from DB in a local folder on the server and then linking to that file, then deleting the file....] Link to comment https://forums.phpfreaks.com/topic/131603-file-download-from-db-data/ Share on other sites More sharing options...
Rohan Shenoy Posted November 6, 2008 Share Posted November 6, 2008 You may use BLOB fields to store binary objects. Pls google it Link to comment https://forums.phpfreaks.com/topic/131603-file-download-from-db-data/#findComment-683513 Share on other sites More sharing options...
shlomikalfa Posted November 6, 2008 Author Share Posted November 6, 2008 i know how to save binary, i want to know how to initiate/send the data from the server..... Link to comment https://forums.phpfreaks.com/topic/131603-file-download-from-db-data/#findComment-683519 Share on other sites More sharing options...
shlomikalfa Posted November 6, 2008 Author Share Posted November 6, 2008 Anyone has any take on this ?! how can i initiate a file transfer via php without having the file saved locally ?! Link to comment https://forums.phpfreaks.com/topic/131603-file-download-from-db-data/#findComment-683596 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.