problem solved , it was some server side problem , fixed by just
setting the temp upload directory
On May 15, 4:13 pm, Ali wrote:
> HI symfony users,
> i am facing a problem when i upload the
> files from the admin section .
> there are two pro
First, refactor your code :
Actions
class myModelActions extends sfActions
{
public function executeIndex($request)
{
$this->form = new WebsiteForm();
if ($request->isMethod('post'))
{
$this->form->bind($request->getParameter('website'),
$request->getFiles('website'));