Re: [PHP] Pushing a file to the browser

2007-01-03 Thread Curt Zirzow
roman neuhauser describes it rather well on the other thread. Basically. the push in this context below, is the response php provides php.net/header has a lot of info about how to send a non html file back to the browser. Curt. On 1/2/07, Casey Chu [EMAIL PROTECTED] wrote: What do you mean by

RE: [PHP] Pushing a file to the browser

2007-01-03 Thread bruce
hi mike... i'mnot sure what you mean to do, but i think you want to take a file as input, do some modifications to it, and then display the file on your site... or do you want to allow the user to download the modified file, or do you want to be able to automatically send the 'massaged file' to

RE: [PHP] Pushing a file to the browser

2007-01-03 Thread Peter Lauri
Hi, I assume that you mean you want to send the file as application/octet-stream. Take a look at this: ob_start(); $path = 'path to directory where file resides'; $filename = 'the name of the file'; ob_end_clean(); header(Pragma: public); header(Expires: 0); // set expiration time

Re: [PHP] Pushing a file to the browser

2007-01-02 Thread Casey Chu
What do you mean by `pushing`? On 9/15/06, Mike Mannakee [EMAIL PROTECTED] wrote: Hello, I have a script I've created which takes a file upload, monkeys with the data in it, and needs to push the new file out to the browser. Everything is coded and working up to that last point, but I've

Re: [PHP] Pushing a file to the browser

2007-01-02 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-09-15 20:39:16 -0400: I have a script I've created which takes a file upload, monkeys with the data in it, and needs to push the new file out to the browser. Everything is coded and working up to that last point, but I've never pushed out a file to the browser