FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Send .csv file to browser
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Send .csv file to browser [message #170043 is a reply to message #170031] Thu, 07 October 2010 02:42 Go to previous messageGo to previous message
Adam Harvey is currently offline  Adam Harvey
Messages: 25
Registered: September 2010
Karma:
Junior Member
On Wed, 06 Oct 2010 07:19:10 -0400, Jerry Stuckle wrote:
> I wouldn't create a temp file for it. The code to output it directly to
> the browser. It's not that hard.

php://temp only creates a real temporary file if the file size goes
beyond a certain threshold -- by default, 2 megs. Otherwise it behaves
exactly the same way as php://memory, that is, as an in-memory file-like
stream.

Adam
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: file access permission?
Next Topic: Process queue without cron jobs
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 12:20:19 GMT 2024

Total time taken to generate the page: 0.04166 seconds