Hello.
I'm using Sanitize::clean for cleaning the $this->data arrays in the
controllers before saving them to the db.
example
if (!empty($this->data))
{
$this->data = Sanitize::clean($this->data);
[...]
}
The problem is that if a form contains a file input, the file is not
uploaded. The file array is correctly populated after the post (with
tmp_name and everything), but the physical file is not present in the
upload folder.
Is there any workaround for this?
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