Hi Grant Thanks for the reply. The example you sent was spot on. It did exactly what I wanted. Thanks also for the reminder about the debug output, I had forgotten that and it was causing a problem.
System is all working nicely now. Files are safely inaccessible to all but those who the security system allows access. Regards, Langdon Grant Cox wrote: > The only problem will be that if you do not sent the appropriate > content type headers, then the browser will not know what to do with > the big chunk of binary data you spit out - is this an image, a word > document, a html page? Should it try to save this data, or display it > inline? > > http://au3.php.net/manual/en/function.header.php#48538 has an example > that should work for you. It would be a good idea to also have a > Configure::write('debug', 0); > before it (you don't want any cake SQL logs messing up the file), and > it wouldn't hurt to have > > @flush(); > @ob_end_flush(); > exit(); > > right at the end (make sure all buffered data is fully sent before the > exit). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
