How to upload file in Symfony 1.4


symfonyJust a note for myself on how to upload file in Symfony 1.4. This upload feature is a bit different compare to symfony 1.0. I’ve been using Symfony 1.0 for a long time and recently just switch to 1.4 and i found there’s a lot of changes.

To upload file in Symfony 1.4, follow the code below:-

Advertisements

  • The code below demonstrate a file upload function that only allow pdf file being uploaded.

Related posts:






Share this with your friends:-

Leave a Reply