I am using the media view to serve files in a folder under /app (let's
call it /app/reports), which is outside of /app/webroot. Reading works
great - but how can I write the files into /app/reports?
file_put_contents with no path writes to /webroot, using
file_put_contents('/app/reports/filename.txt', $content) fails with
'failed to open stream: No such file or directory' (which is kind of
obvious).
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" 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