You are correct, the tmp directory is outside the Cake directory
structure. I solved the problem by bypassing the fopen function and
moving the file to a local directory. Thanks for the help.

Peter -

On Jun 3, 10:02 am, francky06l <[EMAIL PROTECTED]> wrote:
> Are you sure the tmp you are accessing is into the cake folder ?
> Regarding the message it seems that /tmp/tmpfile is at the root not in
> your htdocs ...
> Try to log the complete file name, but I am quite sure your file name
> does not contains the WEBROOT directory and thus pointing to a /tmp
> (root) not at htdoc/tmp
>
> Hope this helps
>
> On Jun 3, 2:53 am, peterhf <[EMAIL PROTECTED]> wrote:
>
> > The file that is being opened is, I believe,  in cake/app/tmp/ so why
> > is the server not allowing opening a file within the cake framework?
>
> > On Jun 2, 3:22 pm, Travis Cline <[EMAIL PROTECTED]> wrote:
>
> > > This is not CakePHP specific:
>
> > > seehttp://www.google.com/search?q=+open_basedir+restriction


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to