It states it's image/jpeg On 1 March 2011 00:35, Miles J <[email protected]> wrote:
> Yeah that's quite weird, it should be assigned as an image. > > What does php say the mimetype is after the upload process? > > On Feb 28, 4:17 pm, Stephen <[email protected]> wrote: > > Hi Miles > > > > I tried image/jpeg and gif. > > > > Various images, not had the chance to test online rather than in EasyPHP. > > > > image/jpeg should pass no? > > > > Anyhow, on a slightly different note, I really love the simplicity of > your > > component - besides the strange error (still convinced it's EasyPHP), > it's > > working perfectly. > > > > On 28 February 2011 22:19, Miles J <[email protected]> wrote: > > > > > > > > > What type of file are you uploading? > > > > > You can add more mimetypes to the supported mimetype array to allow > > > your type to pass, instead of hacking in conditions. > > > > > On Feb 28, 12:17 pm, Stephen <[email protected]> wrote: > > > > I managed to get around this issue by checking for both image and > > > > application from an array (at all instances). > > > > > > This obviously is bad practise, I am sure this will be because of > > > EasyPHP, > > > > possibly something to do with the way CakePHP handles tmp_name? > > > > > > If anybody has any insight on this I would love to hear. > > > > > > Thanks in advanced - > > > > <http://www.ninjacodermonkey.co.uk> > > > > Stephen > > > > > -- > > > Our newest site for the community: CakePHP Video Tutorials > > >http://tv.cakephp.org > > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > > others with their CakePHP related questions. > > > > > To unsubscribe from this group, send email to > > > [email protected] For more options, visit this > group > > > athttp://groups.google.com/group/cake-php > > > > -- > > Kind Regards > > Stephen > > > > http://www.ninjacodermonkey.co.uk > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > at http://groups.google.com/group/cake-php > -- Kind Regards Stephen http://www.ninjacodermonkey.co.uk -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
