Symfony2 file upload step by step
Do you know now what are the ‘important’ function to add to be able to upload the photo and rename it? See the official documentation on how to do this. There are good working examples for a simple file upload. Also check the doctrine documentation for lifecycle callbacks. How do you check the extension to … Read more