nevermind. forgot to put enctype...

On Mon, May 5, 2008 at 11:25 PM, . <[EMAIL PROTECTED]> wrote:

> Newbie cake 1.2 and $_FILES question:
>
>  <input type="file" name="Filedata" />
>
>  function blah()
>  {
>  echo debug($this->params['form']);
>
> echo debug($_FILES);
>
>  }
>
>
> the first debug outputs
> Array
> (
>     [Filedata] => C:\...\blah.jpg
> )
> The second debug statement outputs
> Array
> {
>
> }
>
> Why? I thought $_FILES should display all the file properties (tmp_name,
> name, size, etc)?
>
> thanks
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to