Look at the block of PHP code just before the subheading "Form Events". There
you'll find that they set the "with_delete" option to false – set this to true
and add the "filename_delete" validator with an sfValidatorPass class (you can
look that up here:
http://www.symfony-project.org/api/1_4/s
regarding this tutorial:
http://www.symfony-project.org/more-with-symfony/1_4/en/06-Advanced-Forms
How to delete an uploaded image?
--
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