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');
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