The other solution is do not support IE6. Many major web companies have
stopped support and even Microsoft is stopping support for it and has
created a website to try and discourage web developers developing for it.

At some point you need to decide to stop supporting ageing technologies. IE6
is a dinosaur in the browser world. You will be doing yourself a major
favour by not bothering with it anymore.

On Thu, Mar 31, 2011 at 5:17 PM, _kud <kud.g...@gmail.com> wrote:

> Hello,
>
> I've some troubles with IE6 (oh, really?), I'd like to validate my mp4
> uploaded file but sf 1.4 answers me it's a wrong mime type.
>
> What I've done:
>
> $this->setValidator('video', new sfValidatorFile(
>        array(
>            'mime_types' => array('video/mpeg','video/mpg','video/
> mp4'),
>            'path' => sfConfig::get('sf_upload_dir').'/users/video',
>            'required' => false,
>            'max_size' => '10485760'
>
>        ),
>    ));
>
>
> I checked my file with 'file --mime-type example.mp4' in shell
> (macos), it returns 'video/mp4', and when I use my form with Fx4 or
> Safari or Chrome, I've no trouble.
>
> Do you have any idea how to validate a mp4 file with IE6?
>
> Thank you.
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>



-- 
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc
identi.ca: @garethmcc

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to