Re: [symfony-users] Create dynamic folder and save files in it.

2011-02-25 Thread Alex Pilon
If you are using symfony's file upload form widgets and validators you might want to checkout the generateXXXFilename method as well as look at creating a subclass of sfValidatedFile to control where you save the file. On Fri, Feb 25, 2011 at 09:34, Massimiliano Arione wrote: > On Friday, Februar

Re: [symfony-users] Create dynamic folder and save files in it.

2011-02-25 Thread Massimiliano Arione
On Friday, February 25, 2011 9:41:40 AM UTC+1, GarethMc wrote: > > Create the directory in the uploads folder using the mkdir function > (http://php.net/manual/en/function.mkdir.php) and then store the > uploaded file in there. Be aware: you must validate the type of uploaded file. Otherwise, y

Re: [symfony-users] Create dynamic folder and save files in it.

2011-02-25 Thread Gareth McCumskey
Create the directory in the uploads folder using the mkdir function (http://php.net/manual/en/function.mkdir.php) and then store the uploaded file in there. On 24/02/2011 16:27, Kiran wrote: Hello friends I want to create dynamic folder with specific name and file must save in that folder. For

[symfony-users] Create dynamic folder and save files in it.

2011-02-24 Thread Kiran
Hello friends I want to create dynamic folder with specific name and file must save in that folder. For example if user upload a file , the file must be save in folder name as UserID. Suppose UserID is XYZ-001 So File must be save in Folder named as XYZ-001 Can some body give me idea to complete t