Hey guys, I am trying to transmit an image into a web server. So in my
templates I have:

echo input_file_tag('thefile');

and in my actions:

 $image_option1 = $this->getRequestParameter('thefile');
$this->getRequest()->moveFile('answer_file1',
sfConfig::get('sf_upload_dir').'/'.$image_option1);

But this is not working, as i get an sfexception stating that moveFile is an
undefined method. Looks like it is deprecated. So does anyone have a clue
how this can be fixed?

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=.


Reply via email to