[symfony-users] How to check if a file exist before uploading it ?

2011-02-10 Thread Manu
I use a custom validator to keep the filename during the upload : class mySfValidatorFile extends sfValidatorFile { protected function configure($options = array(), $messages = array()) { parent::configure(); $this-addOption('validated_file_class', 'mysfValidatedFile');

Re: [symfony-users] How to check if a file exist before uploading it ?

2011-02-10 Thread Gareth McCumskey
http://www.google.co.za/search?sourceid=chromeie=UTF-8q=php+file+exists http://www.google.co.za/search?sourceid=chromeie=UTF-8q=php+file+existsGoogle is your friend. On Thu, Feb 10, 2011 at 12:35 PM, Manu emmanuel.parf...@gmail.com wrote: I use a custom validator to keep the filename during